134 lines
2.7 KiB
Plaintext
134 lines
2.7 KiB
Plaintext
package th.co.muangthai.endrprint.model.bean.master;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import java.io.Serializable;
|
|
import org.codehaus.jackson.annotate.JsonAutoDetect;
|
|
import org.codehaus.jackson.map.annotate.JsonSerialize;
|
|
import th.co.muangthai.endrprint.util.JsonDateSerializer;
|
|
|
|
@JsonAutoDetect
|
|
@Entity
|
|
@Table(name = "ENDR_USER_LOGIN")
|
|
public class EndrUserLoginBean implements Serializable {
|
|
|
|
@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 = "TEL")
|
|
private String tel;
|
|
@Column(name = "USER_NAME")
|
|
private String userName;
|
|
@Column(name = "CREATE_BY")
|
|
private String createBy;
|
|
@Column(name = "CREATE_DATE")
|
|
private Date createDate;
|
|
@Column(name = "UPDATE_BY")
|
|
private String updateBy;
|
|
@Column(name = "UPDATE_DATE")
|
|
private Date updateDate;
|
|
@Column(name = "OPER_ID")
|
|
private String operId;
|
|
|
|
public void setUserId(String userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public String getUserId() {
|
|
return this.userId;
|
|
}
|
|
|
|
public void setUserPassword(String userPassword) {
|
|
this.userPassword = userPassword;
|
|
}
|
|
|
|
public String getUserPassword() {
|
|
return this.userPassword;
|
|
}
|
|
|
|
public void setFirstname(String firstname) {
|
|
this.firstname = firstname;
|
|
}
|
|
|
|
public String getFirstname() {
|
|
return this.firstname;
|
|
}
|
|
|
|
public void setLastname(String lastname) {
|
|
this.lastname = lastname;
|
|
}
|
|
|
|
public String getLastname() {
|
|
return this.lastname;
|
|
}
|
|
|
|
public void setTel(String tel) {
|
|
this.tel = tel;
|
|
}
|
|
|
|
public String getTel() {
|
|
return this.tel;
|
|
}
|
|
|
|
public void setUserName(String userName) {
|
|
this.userName = userName;
|
|
}
|
|
|
|
public String getUserName() {
|
|
return this.userName;
|
|
}
|
|
|
|
public void setCreateBy(String createBy) {
|
|
this.createBy = createBy;
|
|
}
|
|
|
|
public String getCreateBy() {
|
|
return this.createBy;
|
|
}
|
|
|
|
public void setCreateDate(Date createDate) {
|
|
this.createDate = createDate;
|
|
}
|
|
|
|
@JsonSerialize(using = JsonDateSerializer.class)
|
|
public Date getCreateDate() {
|
|
return this.createDate;
|
|
}
|
|
|
|
public void setUpdateBy(String updateBy) {
|
|
this.updateBy = updateBy;
|
|
}
|
|
|
|
public String getUpdateBy() {
|
|
return this.updateBy;
|
|
}
|
|
|
|
public void setUpdateDate(Date updateDate) {
|
|
this.updateDate = updateDate;
|
|
}
|
|
|
|
@JsonSerialize(using = JsonDateSerializer.class)
|
|
public Date getUpdateDate() {
|
|
return this.updateDate;
|
|
}
|
|
|
|
public void setOperId(String operId) {
|
|
this.operId = operId;
|
|
}
|
|
|
|
public String getOperId() {
|
|
return this.operId;
|
|
}
|
|
|
|
|
|
} |