package com.ld.igds.models; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; import java.io.Serializable; /** * 存储损失率清单表 * * @author chen */ @Data @Entity @Table(name = "TO_LS_CCSSL_D") public class ToLsCcsslD implements Serializable { /** * */ private static final long serialVersionUID = 1L; @Id @GenericGenerator(name = "generator", strategy = "increment") @GeneratedValue(generator = "generator") @Column(name = "id", length = 64) @PropertyDef(label = "主键id") private int id; @Column(name = "nf", length = 4) @PropertyDef(label = "年份") private String nf; @Column(name = "rq", length = 255) @PropertyDef(label = "日期") private String rq; @Column(name = "chh", length = 255) @PropertyDef(label = "车船号") private String chh; @Column(name = "thdw", length = 255) @PropertyDef(label = "提货单位") private String thdw; @Column(name = "thc", length = 255) @PropertyDef(label = "提货仓") private String thc; @Column(name = "fcsl") @PropertyDef(label = "发出数量") private double fcsl = 0.0; @Column(name = "jcs") @PropertyDef(label = "结存数") private double jcs = 0.0; @Column(name = "data_date") @PropertyDef(label = "数据日期", description = "H/D/W/M") private String dataDate; @Column(name = "update_time") @PropertyDef(label = "更新时间", description = "H/D/W/M") private String updateTime; }