160 lines
3.6 KiB
Plaintext
160 lines
3.6 KiB
Plaintext
|
package th.co.muangthai.endrprint.model.bean;
|
||
|
|
||
|
import org.codehaus.jackson.annotate.JsonAutoDetect;
|
||
|
import org.codehaus.jackson.map.annotate.JsonSerialize;
|
||
|
import th.co.muangthai.endrprint.util.JsonDateSerializer;
|
||
|
|
||
|
import javax.persistence.*;
|
||
|
import java.io.Serializable;
|
||
|
import java.math.BigDecimal;
|
||
|
import java.util.Date;
|
||
|
@JsonAutoDetect
|
||
|
@Entity
|
||
|
@Table(name = "USER_LOGIN")
|
||
|
public class UserLoginBean implements Serializable {
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
@Id
|
||
|
@Column(name = "USER_ID")
|
||
|
private String userId;
|
||
|
@Column(name = "USER_PASSWORD")
|
||
|
private String userPassword;
|
||
|
@Column(name = "FIRSTNAME")
|
||
|
private String firstname;
|
||
|
@Column(name = "LASTNAME")
|
||
|
private String lastname;
|
||
|
@Column(name = "EMAIL")
|
||
|
private String email;
|
||
|
@Column(name = "TEL")
|
||
|
private String tel;
|
||
|
@Column(name = "CREATED_BY")
|
||
|
private String createdBy;
|
||
|
@Column(name = "CREATED_DATE")
|
||
|
private Date createdDate;
|
||
|
@Column(name = "UPDATED_BY")
|
||
|
private String updatedBy;
|
||
|
@Column(name = "UPDATED_DATE")
|
||
|
private Date updatedDate;
|
||
|
@Column(name = "BROKER_ID")
|
||
|
private BigDecimal brokerId;
|
||
|
@Column(name = "USER_GROUP_ID")
|
||
|
private Integer userGroupId;
|
||
|
@Column(name = "USER_NAME")
|
||
|
private String userName;
|
||
|
@Column(name = "OPER_ID")
|
||
|
private String operId;
|
||
|
|
||
|
public String getUserId() {
|
||
|
return userId;
|
||
|
}
|
||
|
|
||
|
public void setUserId(String userId) {
|
||
|
this.userId = userId;
|
||
|
}
|
||
|
|
||
|
public String getUserPassword() {
|
||
|
return userPassword;
|
||
|
}
|
||
|
|
||
|
public void setUserPassword(String userPassword) {
|
||
|
this.userPassword = userPassword;
|
||
|
}
|
||
|
|
||
|
public String getFirstname() {
|
||
|
return firstname;
|
||
|
}
|
||
|
|
||
|
public void setFirstname(String firstname) {
|
||
|
this.firstname = firstname;
|
||
|
}
|
||
|
|
||
|
public String getLastname() {
|
||
|
return lastname;
|
||
|
}
|
||
|
|
||
|
public void setLastname(String lastname) {
|
||
|
this.lastname = lastname;
|
||
|
}
|
||
|
|
||
|
public String getEmail() {
|
||
|
return email;
|
||
|
}
|
||
|
|
||
|
public void setEmail(String email) {
|
||
|
this.email = email;
|
||
|
}
|
||
|
|
||
|
public String getTel() {
|
||
|
return tel;
|
||
|
}
|
||
|
|
||
|
public void setTel(String tel) {
|
||
|
this.tel = tel;
|
||
|
}
|
||
|
|
||
|
public String getCreatedBy() {
|
||
|
return createdBy;
|
||
|
}
|
||
|
|
||
|
public void setCreatedBy(String createdBy) {
|
||
|
this.createdBy = createdBy;
|
||
|
}
|
||
|
|
||
|
@JsonSerialize(using = JsonDateSerializer.class)
|
||
|
public Date getCreatedDate() {
|
||
|
return createdDate;
|
||
|
}
|
||
|
|
||
|
public void setCreatedDate(Date createdDate) {
|
||
|
this.createdDate = createdDate;
|
||
|
}
|
||
|
|
||
|
public String getUpdatedBy() {
|
||
|
return updatedBy;
|
||
|
}
|
||
|
|
||
|
public void setUpdatedBy(String updatedBy) {
|
||
|
this.updatedBy = updatedBy;
|
||
|
}
|
||
|
|
||
|
@JsonSerialize(using = JsonDateSerializer.class)
|
||
|
public Date getUpdatedDate() {
|
||
|
return updatedDate;
|
||
|
}
|
||
|
|
||
|
public void setUpdatedDate(Date updatedDate) {
|
||
|
this.updatedDate = updatedDate;
|
||
|
}
|
||
|
|
||
|
public BigDecimal getBrokerId() {
|
||
|
return brokerId;
|
||
|
}
|
||
|
|
||
|
public void setBrokerId(BigDecimal brokerId) {
|
||
|
this.brokerId = brokerId;
|
||
|
}
|
||
|
|
||
|
public Integer getUserGroupId() {
|
||
|
return userGroupId;
|
||
|
}
|
||
|
|
||
|
public void setUserGroupId(Integer userGroupId) {
|
||
|
this.userGroupId = userGroupId;
|
||
|
}
|
||
|
|
||
|
public String getUserName() {
|
||
|
return userName;
|
||
|
}
|
||
|
|
||
|
public void setUserName(String userName) {
|
||
|
this.userName = userName;
|
||
|
}
|
||
|
|
||
|
public String getOperId() {
|
||
|
return operId;
|
||
|
}
|
||
|
|
||
|
public void setOperId(String operId) {
|
||
|
this.operId = operId;
|
||
|
}
|
||
|
}
|