96 lines
2.2 KiB
Plaintext
96 lines
2.2 KiB
Plaintext
|
package th.co.muangthai.endrprint.model.bean.master;
|
||
|
|
||
|
import org.codehaus.jackson.annotate.JsonAutoDetect;
|
||
|
import org.codehaus.jackson.map.annotate.JsonSerialize;
|
||
|
import th.co.muangthai.endrprint.util.JsonDateSerializer;
|
||
|
|
||
|
import javax.persistence.Column;
|
||
|
import javax.persistence.Entity;
|
||
|
import javax.persistence.Id;
|
||
|
import javax.persistence.Table;
|
||
|
import java.math.BigDecimal;
|
||
|
import java.util.Date;
|
||
|
|
||
|
/**
|
||
|
* Created by Yuttakarn on 14/7/2560.
|
||
|
*/
|
||
|
@JsonAutoDetect
|
||
|
@Entity
|
||
|
@Table(name = "ENDR_PROVINCIAL_PRINT")
|
||
|
public class EndrProvincialPrintBean {
|
||
|
// private static final long serialVersionUID = 1L;
|
||
|
@Id
|
||
|
@Column(name = "ID")
|
||
|
private BigDecimal id;
|
||
|
@Column(name = "PROVINCIAL_ID")
|
||
|
private BigDecimal provincialId;
|
||
|
@Column(name = "SERVER_ID")
|
||
|
private BigDecimal serverId;
|
||
|
@Column(name = "CREATE_BY")
|
||
|
private String createdBy;
|
||
|
@Column(name = "CREATE_DATE")
|
||
|
private Date createdDate;
|
||
|
@Column(name = "UPDATE_BY")
|
||
|
private String updatedBy;
|
||
|
@Column(name = "UPDATE_DATE")
|
||
|
private Date updatedDate;
|
||
|
|
||
|
public BigDecimal getId() {
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
public void setId(BigDecimal id) {
|
||
|
this.id = id;
|
||
|
}
|
||
|
|
||
|
public BigDecimal getProvincialId() {
|
||
|
return provincialId;
|
||
|
}
|
||
|
|
||
|
public void setProvincialId(BigDecimal provincialId) {
|
||
|
this.provincialId = provincialId;
|
||
|
}
|
||
|
|
||
|
public BigDecimal getServerId() {
|
||
|
return serverId;
|
||
|
}
|
||
|
|
||
|
public void setServerId(BigDecimal serverId) {
|
||
|
this.serverId = serverId;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|