package com.ld.igds.models; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import org.springframework.stereotype.Component; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * @Author: YYC * @Description:账面库存 * @DateTime: 2023/10/20 14:07 **/ @Data @Entity @Table(name = "D_DEPOT_BOOK_STORE") public class DepotBookStore implements Serializable { /** * */ private static final long serialVersionUID = -5548540780391804729L; @Id @Column(name = "ID_", length = 40) private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "kqdm", length = 21) @PropertyDef(label = "库区代码") private String kqdm; @Column(name = "lspzdm", length = 7) @PropertyDef(label = "粮食品种代码") private String lspzdm; @Column(name = "nd", length = 4) @PropertyDef(label = "年度") private String nd; @Column(name = "yf", length = 2) @PropertyDef(label = "月份") private String yf; @Column(name = "qcsl", precision = 20, scale = 3) @PropertyDef(label = "期初数量", description = "单位:公斤") private Double qcsl = 0.0; @Column(name = "bqsrsl", precision = 20, scale = 3) @PropertyDef(label = "本期收入数量", description = "单位:公斤") private Double bqsrsl = 0.0; @Column(name = "bqzcsl", precision = 20, scale = 3) @PropertyDef(label = "本期支出数量", description = "单位:公斤") private Double bqzcsl = 0.0; @Column(name = "qmye", precision = 20, scale = 3) @PropertyDef(label = "期末数量", description = "单位:公斤") private Double qmye = 0.0; @Column(name = "yjbz") @PropertyDef(label = "月结标志", description = "0:月结;1 未月结") private Integer yjbz; @Column(name = "ywrq") @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "业务日期") private Date ywrq; @Column(name = "czbz", length = 1) @PropertyDef(label = "操作标志") private String czbz; @Column(name = "zhgxsj") @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间") private Date zhgxsj; }