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: Drug * @date 2018年3月9日 下午2:54:37 * @version 1.0 */ @Data @Entity @Table(name = "D_DRUG") public class Drug { @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "编码") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "NAME_", length = 50) @PropertyDef(label = "药品名称") private String name; @Column(name = "SPEC_", length = 50) @PropertyDef(label = "规格说明") private String spec; @Column(name = "DOSAGE_", length = 20) @PropertyDef(label = "剂型") private String dosage; @Column(name = "COUNT_") @PropertyDef(label = "库存量") private int count = 0; @PropertyDef(label = "操作员") @Column(name = "UPDATE_USER_", length = 30) private String updateUser; @PropertyDef(label = "操作时间") @Column(name = "UPDATE_TIME_") private Date updateTime; @PropertyDef(label = "操作时间") @Column(name = "REMARKS_", length = 300) private String remarks; }