package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.ld.igds.inout.InoutConstant;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 计划,计划详细
|
*
|
* @DESC 版本4.0 验证
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_INOUT_PLAN_DETAIL")
|
public class InoutPlanDetail implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "计划明细单号")
|
private String id;
|
|
@Column(name = "PLAN_ID_", length = 40)
|
@PropertyDef(label = "计划编码")
|
private String planId;
|
|
@Column(name = "FOOD_VARIETY_", length = 10)
|
@PropertyDef(label = "粮食品种")
|
private String foodVariety;
|
|
@Column(name = "FOOD_TYPE_", length = 10)
|
@PropertyDef(label = "粮食性质")
|
private String foodType;
|
|
@Column(name = "FOOD_LEVEL_", length = 10)
|
@PropertyDef(label = "粮食等级")
|
private String foodLevel;
|
|
@Column(name = "YEAR_", length = 10)
|
@PropertyDef(label = "收获年度")
|
private String year;
|
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "仓库")
|
private String depotId;
|
|
@Column(name = "PLAN_NUM_", precision = 16, scale = 2)
|
@PropertyDef(label = "计划数量")
|
private Double planNum;
|
|
@Column(name = "TYPE_", length = 4)
|
@PropertyDef(label = "计划类型")
|
private String type = InoutConstant.PLAN_DETAIL_TYPE_1;
|
|
// @Column(name = "PRICE_", precision = 16, scale = 2)
|
// @PropertyDef(label = "单价")
|
// private Double price;
|
|
// @Column(name = "TOTAL_", precision = 16, scale = 2)
|
// @PropertyDef(label = "总价")
|
// private Double total;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "数据更新时间")
|
private Date updateTime;
|
}
|