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_INOUT")
|
public class DrugInout {
|
|
/**
|
* 入库
|
*/
|
public static final String TYPE_IN = "IN";
|
/**
|
* 出库
|
*/
|
public static final String TYPE_OUT = "OUT";
|
|
@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 = "DRUG_ID_", length = 40)
|
@PropertyDef(label = "药品ID")
|
private String drugId;
|
|
@Column(name = "TIME_")
|
@PropertyDef(label = "采购时间/领取时间")
|
private Date time;
|
|
@Column(name = "PERSON_", length = 20)
|
@PropertyDef(label = "采购员/领取员")
|
private String person;
|
|
@Column(name = "REASON_", length = 300)
|
@PropertyDef(label = "领取用途", description = "出库独有")
|
private String reason;
|
|
@Column(name = "COUNT_", length = 20)
|
@PropertyDef(label = "数量", description = "出入数量")
|
private int count;
|
|
@Column(name = "PRICE_")
|
@PropertyDef(label = "单价", description = "入库专用")
|
private double price;
|
|
@Column(name = "TYPE_", length = 10)
|
@PropertyDef(label = "出入库类型", description = "IN,OUT")
|
private String type;
|
|
@PropertyDef(label = "操作员")
|
@Column(name = "UPDATE_USER_", length = 30)
|
private String updateUser;
|
|
@PropertyDef(label = "操作时间")
|
@Column(name = "UPDATE_TIME_")
|
private Date updateTime;
|
|
@Column(name = "REMARKS_", length = 500)
|
@PropertyDef(label = "备注说明")
|
private String remarks;
|
|
}
|