package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 计划管理-计划详细
|
*
|
* @author:
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_M_PLAN_DETAIL")
|
public class MPlanDetail implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "ID_")
|
private String id;
|
|
@Column(name = "PLAN_ID_", length = 40)
|
@PropertyDef(label = "计划ID")
|
private String planId;
|
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "仓库")
|
private String depotId;
|
|
@Column(name = "YEAR_", length = 10)
|
@PropertyDef(label = "年份")
|
private String year;
|
|
@Column(name = "TYPE_", length = 10)
|
@PropertyDef(label = "类型")
|
private String type;
|
|
@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 = "PLAN_NUM_", precision = 16, scale = 2)
|
@PropertyDef(label = "数量")
|
private Double planNum;
|
|
@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 = "CREATE_TIME_")
|
@PropertyDef(label = "创建时间")
|
private Date createTime;
|
}
|