Coverage Report - booking.model.entity.UserPreferencesTO
 
Classes in this File Line Coverage Branch Coverage Complexity
UserPreferencesTO
100%
13/13
N/A
1
 
 1  
 package booking.model.entity;
 2  
 
 3  
 import javax.validation.constraints.NotNull;
 4  
 import javax.validation.constraints.Size;
 5  
 
 6  7
 public class UserPreferencesTO {
 7  
 
 8  
         Long id;
 9  
 
 10  
         Long idUser;
 11  
 
 12  
         @NotNull
 13  
         @Size(max = 100)
 14  
         String name;
 15  
 
 16  
         @NotNull
 17  
         @Size(max = 100)
 18  
         String value;
 19  
 
 20  
         /**
 21  
          * @return the id
 22  
          */
 23  
         public Long getId() {
 24  7
                 return id;
 25  
         }
 26  
 
 27  
         /**
 28  
          * @param id
 29  
          *            the id to set
 30  
          */
 31  
         public void setId(Long id) {
 32  6
                 this.id = id;
 33  6
         }
 34  
 
 35  
         /**
 36  
          * @return the idUser
 37  
          */
 38  
         public Long getIdUser() {
 39  12
                 return idUser;
 40  
         }
 41  
 
 42  
         /**
 43  
          * @param idUser
 44  
          *            the idUser to set
 45  
          */
 46  
         public void setIdUser(Long idUser) {
 47  6
                 this.idUser = idUser;
 48  6
         }
 49  
 
 50  
         /**
 51  
          * @return the name
 52  
          */
 53  
         public String getName() {
 54  12
                 return name;
 55  
         }
 56  
 
 57  
         /**
 58  
          * @param name
 59  
          *            the name to set
 60  
          */
 61  
         public void setName(String name) {
 62  6
                 this.name = name;
 63  6
         }
 64  
 
 65  
         /**
 66  
          * @return the value
 67  
          */
 68  
         public String getValue() {
 69  12
                 return value;
 70  
         }
 71  
 
 72  
         /**
 73  
          * @param value
 74  
          *            the value to set
 75  
          */
 76  
         public void setValue(String value) {
 77  6
                 this.value = value;
 78  6
         }
 79  
 
 80  
 }