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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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;
 
}