package com.ld.igds.models; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * @Desc: 出入库粮食价格配置表 * @author: Andy * @update-time: 2023/5/26 */ @Data @Entity @Table(name = "D_INOUT_PRICE") public class InoutPrice implements Serializable { /** * */ private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "ID") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "FOOD_VARIETY_", length = 20) @PropertyDef(label = "粮食品种") private String foodVariety; @Column(name = "FOOD_LEVEL_", length = 20) @PropertyDef(label = "粮食等级") private String foodLevel; @Column(name = "PRICE_") @PropertyDef(label = "粮食价格", description = "单位:元/KG") private double price; @Column(name = "START_TIME_") @PropertyDef(label = "有效开始时间") private Date startTime; @Column(name = "END_TIME_") @PropertyDef(label = "有效截至时间") private Date endTime; @Column(name = "UPDATE_USER_", length = 30) @PropertyDef(label = "最后更新人") private String updateUser; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "更新时间") private Date updateTime; @Column(name = "REMARKS_", length = 200) @PropertyDef(label = "说明") private String remarks; }