ENDRPrint_12CRelease/.svn/pristine/aa/aa85e21f9c87ac6f50952c41b717bfc67062c834.svn-base

97 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2024-08-14 10:58:03 +07:00
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.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* Created by Yuttakarn on 13/7/2560.
*/
@JsonAutoDetect
@Entity
@Table(name = "ENDR_PROVINCIAL_TEAM")
public class EndrProvincialTeamBean implements Serializable {
// private static final long serialVersionUID = 1L;
@Id
@Column(name = "ID")
private BigDecimal id;
@Column(name = "PROVINCIAL_ID")
private BigDecimal provincialId;
@Column(name = "TEAM")
private String team;
@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 String getTeam() {
return team;
}
public void setTeam(String team) {
this.team = team;
}
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;
}
}