jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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;
 
}