package com.fzzy.api.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * 接口表-违规预警信息数据表 * * @author chen * @date 2022-09-02 16:01 */ @Data @Entity @Table(name = "API_1309") @EqualsAndHashCode(callSuper=false) public class Api1309 extends ApiParent implements Serializable { /** * */ private static final long serialVersionUID = 1L; @Id @PropertyDef(label = "预警信息代码" ) @Column(name = "yjxxdm", length = 32, nullable = false) private String yjxxdm; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "预警发布时间" ) @Column(name = "fbsj", nullable = false) private Date fbsj; @PropertyDef(label = "违规主体类型" ) @Column(name = "wgztlx", length = 2, nullable = false) private String wgztlx; @PropertyDef(label = "违规单位代码" ) @Column(name = "qydm", length = 21, nullable = false) private String qydm; @PropertyDef(label = "违规行为人" ) @Column(name = "wgxwr", length = 128) private String wgxwr; @PropertyDef(label = "涉及库点" ) @Column(name = "sjkd", length = 128, nullable = false) private String sjkd; @PropertyDef(label = "违规类型" ) @Column(name = "wglx", length = 2, nullable = false) private String wglx; @PropertyDef(label = "违规详情" ) @Column(name = "wgqk", length = 512, nullable = false) private String wgqk; @PropertyDef(label = "当前处置状态" ) @Column(name = "czzt", length = 2, nullable = false) private String czzt; @PropertyDef(label = "处置内容" ) @Column(name = "hxczqk", length = 512) private String hxczqk; @PropertyDef(label = "处置人" ) @Column(name = "hxczr", length = 32) private String hxczr; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "处置时间" ) @Column(name = "hxczsj") private Date hxczsj; @PropertyDef(label = "操作标志" ) @Column(name = "czbz", length = 1, nullable = false) private String czbz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间" ) @Column(name = "zhgxsj", nullable = false) private Date zhgxsj; }