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;
|
import java.util.List;
|
|
/**
|
* 计划管理-主表
|
*
|
* @author: andy.jia
|
* @description:
|
* @version:
|
* @data:2020年5月27日
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_M_PLAN")
|
public class MPlan implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "计划编码")
|
private String id;
|
|
@Column(name = "REFERENCE_NUMBER_", length = 40)
|
@PropertyDef(label = "计划文号")
|
private String referenceNumber;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "DEPT_ID_", length = 40)
|
@PropertyDef(label = "所属分库")
|
private String deptId;
|
|
@Column(name = "TYPE_", length = 10)
|
@PropertyDef(label = "计划类型")
|
private String type;
|
|
@Column(name = "NAME_", length = 50)
|
@PropertyDef(label = "计划名称")
|
private String name;
|
|
@Column(name = "YEAR_", length = 10)
|
@PropertyDef(label = "年份")
|
private String year;
|
|
@Column(name = "CREATE_USER_", length = 50)
|
@PropertyDef(label = "创建人")
|
private String createUser;
|
|
@Column(name = "CREATE_TIME_")
|
@PropertyDef(label = "创建时间")
|
private Date createTime;
|
|
@Column(name = "BEGIN_TIME_")
|
@PropertyDef(label = "开始时间")
|
private Date beginTime;
|
|
@Column(name = "END_TIME_")
|
@PropertyDef(label = "截止时间")
|
private Date endTime;
|
|
@Column(name = "REMARK_", length = 300)
|
@PropertyDef(label = "备注")
|
private String remark;
|
|
@Transient
|
private List<MPlanDetail> details;
|
|
}
|