package com.ld.igds.models;
|
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import lombok.Data;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
/**
|
* 环流熏蒸-药品出入库
|
*
|
* @ClassName: DrugInOut
|
* @date 2018年3月9日 下午3:46:24
|
* @version 1.0
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_DRUG_APPLY")
|
public class DrugApply {
|
|
|
public static final String STATUS_APPLY = "APPLY";
|
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "id")
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码", description = "")
|
private String companyId;
|
|
@Column(name = "APPLY_TIME_")
|
@PropertyDef(label = "申请时间")
|
private Date applyTime;
|
|
@Column(name = "APPLY_USER_", length = 30)
|
@PropertyDef(label = "申请人")
|
private String applyUser;
|
|
@Column(name = "APPLY_REASON_", length = 300)
|
@PropertyDef(label = "用途说明")
|
private String applyReason;
|
|
@Column(name = "DRUG_NAME_", length = 40)
|
@PropertyDef(label = "申请药品")
|
private String drugName;
|
|
@Column(name = "COUNT_")
|
@PropertyDef(label = "数量")
|
private int count;
|
|
@Column(name = "AUDIT_TIME_")
|
@PropertyDef(label = "审核时间")
|
private Date auditTime;
|
|
@Column(name = "AUDIT_USER_", length = 30)
|
@PropertyDef(label = "审核人")
|
private String auditUser;
|
|
@Column(name = "AUDIT_REASON_", length = 300)
|
@PropertyDef(label = "审核说明")
|
private String auditReason;
|
|
@Column(name = "STATUS_", length = 20)
|
@PropertyDef(label = "数据状态", description = "APPLY=待审核,PASS=通过,UNPASS=拒绝")
|
private String status;
|
|
@Column(name = "REMARKS_", length = 300)
|
@PropertyDef(label = "备注说明")
|
private String remarks;
|
|
}
|