Created
March 24, 2015 14:19
-
-
Save madhur/eb0d9d006f4e4da706d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Entity | |
| @Table(name="user3_android") | |
| public class UserAndroid extends Domain<Integer> implements Serializable { | |
| private static final long serialVersionUID = 1L; | |
| @Id | |
| @GeneratedValue(strategy=GenerationType.IDENTITY) | |
| private Integer id; | |
| @Column(name="user_id") | |
| private Integer userId; | |
| @Temporal( TemporalType.TIMESTAMP) | |
| @Column(name="created_at") | |
| private Date createdAt; | |
| @Column(name="email") | |
| private String email; | |
| @Column(name="mobile") | |
| private String mobile; | |
| @Temporal( TemporalType.TIMESTAMP) | |
| @Column(name="updated_at") | |
| private Date updatedAt; | |
| @Column(name="oauth_token") | |
| private String oauthToken; | |
| @Column(name="status") | |
| private byte status; | |
| @Column(name="name") | |
| private String name; | |
| @Column(name="image_url") | |
| private String imageUrl; | |
| @Column(name="location") | |
| private String location; | |
| @Column(name="otp") | |
| private String otp; | |
| @Column(name = "device_type") | |
| private String deviceType; | |
| @Column(name = "app_version") | |
| private String appVersion; | |
| @Column(name = "app_version_code") | |
| private Integer appVersionCode; | |
| @Column(name = "mobile_version") | |
| private String mobileVersion; | |
| @Column(name = "os_version") | |
| private String osVersion; | |
| @Column(name = "mobile_payment_type") | |
| private byte mobilePaymentType; | |
| @Column(name="otp_authenticated") | |
| private byte otpAuthenticated; | |
| @Temporal( TemporalType.TIMESTAMP) | |
| @Column(name="otp_created_at") | |
| private Date otpCreatedAt; | |
| public Date getOtpCreatedAt() { | |
| return otpCreatedAt; | |
| } | |
| public void setOtpCreatedAt(Date otpCreatedAt) { | |
| this.otpCreatedAt = otpCreatedAt; | |
| } | |
| public String getImageUrl() { | |
| return imageUrl; | |
| } | |
| public void setImageUrl(String imageUrl) { | |
| this.imageUrl = imageUrl; | |
| } | |
| public String getLocation() { | |
| return location; | |
| } | |
| public void setLocation(String location) { | |
| this.location = location; | |
| } | |
| @OneToMany(mappedBy="userAndroid") | |
| private Set<ReportAbuseCompanyAndroid> reportAbuseCompanyAndroid; | |
| @OneToMany(mappedBy="userAndroid") | |
| private Set<FavouriteCompanyAndroid> favouriteCompanyAndroid; | |
| //bi-directional many-to-one association to UserCompanyCustomValues | |
| @OneToMany(mappedBy="userAndroid") | |
| private Set<UserCompanyCustomValues> setOfUserCompanyCustomValues; | |
| @OneToMany(mappedBy="userAndroid") | |
| private Set<CallRatingAndroid> CallRatingAndroid; | |
| public String getName() { | |
| return name; | |
| } | |
| public void setName(String name) { | |
| this.name = name; | |
| } | |
| public Set<UserCompanyCustomValues> getSetOfUserCompanyCustomValues() { | |
| return setOfUserCompanyCustomValues; | |
| } | |
| public void setSetOfUserCompanyCustomValues( | |
| Set<UserCompanyCustomValues> setOfUserCompanyCustomValues) { | |
| this.setOfUserCompanyCustomValues = setOfUserCompanyCustomValues; | |
| } | |
| public Integer getId() { | |
| return id; | |
| } | |
| public void setId(Integer id) { | |
| this.id = id; | |
| } | |
| public Date getCreatedAt() { | |
| return createdAt; | |
| } | |
| public void setCreatedAt(Date createdAt) { | |
| this.createdAt = createdAt; | |
| } | |
| public String getEmail() { | |
| return email; | |
| } | |
| public void setEmail(String email) { | |
| this.email = email; | |
| } | |
| public String getMobile() { | |
| return mobile; | |
| } | |
| public void setMobile(String mobile) { | |
| this.mobile = mobile; | |
| } | |
| public Date getUpdatedAt() { | |
| return updatedAt; | |
| } | |
| public void setUpdatedAt(Date updatedAt) { | |
| this.updatedAt = updatedAt; | |
| } | |
| public Integer getUserId() { | |
| return userId; | |
| } | |
| public void setUserId(Integer userId) { | |
| this.userId = userId; | |
| } | |
| public String getOauthToken() { | |
| return oauthToken; | |
| } | |
| public void setOauthToken(String oauthToken) { | |
| this.oauthToken = oauthToken; | |
| } | |
| public byte getStatus() { | |
| return status; | |
| } | |
| public void setStatus(byte status) { | |
| this.status = status; | |
| } | |
| public Set<ReportAbuseCompanyAndroid> getReportAbuseCompanyAndroid() { | |
| return reportAbuseCompanyAndroid; | |
| } | |
| public void setReportAbuseCompanyAndroid( | |
| Set<ReportAbuseCompanyAndroid> reportAbuseCompanyAndroid) { | |
| this.reportAbuseCompanyAndroid = reportAbuseCompanyAndroid; | |
| } | |
| public Set<FavouriteCompanyAndroid> getFavouriteCompanyAndroid() { | |
| return favouriteCompanyAndroid; | |
| } | |
| public void setFavouriteCompanyAndroid( | |
| Set<FavouriteCompanyAndroid> favouriteCompanyAndroid) { | |
| this.favouriteCompanyAndroid = favouriteCompanyAndroid; | |
| } | |
| public String getOtp() { | |
| return otp; | |
| } | |
| public void setOtp(String otp) { | |
| this.otp = otp; | |
| } | |
| public byte getOtpAuthenticated() { | |
| return otpAuthenticated; | |
| } | |
| public void setOtpAuthenticated(byte otpAuthenticated) { | |
| this.otpAuthenticated = otpAuthenticated; | |
| } | |
| public String getDeviceType() { | |
| return deviceType; | |
| } | |
| public void setDeviceType(String deviceType) { | |
| this.deviceType = deviceType; | |
| } | |
| public String getAppVersion() { | |
| return appVersion; | |
| } | |
| public void setAppVersion(String appVersion) { | |
| this.appVersion = appVersion; | |
| } | |
| public String getMobileVersion() { | |
| return mobileVersion; | |
| } | |
| public void setMobileVersion(String mobileVersion) { | |
| this.mobileVersion = mobileVersion; | |
| } | |
| public String getOsVersion() { | |
| return osVersion; | |
| } | |
| public void setOsVersion(String osVersion) { | |
| this.osVersion = osVersion; | |
| } | |
| public Integer getAppVersionCode() { | |
| return appVersionCode; | |
| } | |
| public void setAppVersionCode(Integer appVersionCode) { | |
| this.appVersionCode = appVersionCode; | |
| } | |
| public byte getMobilePaymentType() { | |
| return mobilePaymentType; | |
| } | |
| public void setMobilePaymentType(byte mobilePaymentType) { | |
| this.mobilePaymentType = mobilePaymentType; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment