| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.Column; |
| | |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 熏蒸作业人员信息表 |
| | |
| | | public class DrugLogPeople implements Serializable { |
| | | |
| | | @Id |
| | | @Column(name = "PEOPLE_ID_", length = 40) |
| | | @PropertyDef(label = "propleId") |
| | | private String propleId; |
| | | |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "id") |
| | | @PropertyDef(label = "id", description = "库区代码+填报日期+熏蒸编号") |
| | | private String id; |
| | | |
| | | @Column(name = "DRUG_LOG_ID_", length = 4) |
| | |
| | | @PropertyDef(label = "库区代码") |
| | | private String deptId; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "组织编码") |
| | | private String companyId; |
| | | @Column(name = "tbrq") |
| | | @PropertyDef(label = "填报日期") |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date tbrq; |
| | | |
| | | @Column(name = "mx", length = 20) |
| | | @PropertyDef(label = "姓名") |