PurchaseSupplier.java
4.7 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
package com.skua.modules.supplies.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
/**
* 采购供应商
*/
@Data
@TableName("purchase_supplier")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "purchase_supplier对象", description = "采购供应商")
public class PurchaseSupplier {
/**
* 注释
*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "注释")
private String id;
/**
* 供应商编码
*/
@Excel(name = "供应商编码", width = 15)
@ApiModelProperty(value = "供应商编码")
private String supplierCode;
/**
* 供应商名称
*/
@Excel(name = "供应商名称", width = 15)
@ApiModelProperty(value = "供应商名称")
private String supplierName;
/**
* 供应商类型
*/
@Excel(name = "供应商类型", width = 15, dicCode = "purchase_supplier_type")
@ApiModelProperty(value = "供应商类型")
@Dict(dicCode = "purchase_supplier_type")
private String supplierType;
/**
* 供应商等级
*/
@Excel(name = "供应商等级", width = 15, dicCode = "purchase_supplier_level")
@ApiModelProperty(value = "供应商等级")
@Dict(dicCode = "purchase_supplier_level")
private String supplierLevel;
/**
* 主要供应品
*/
@Excel(name = "主要供应品", width = 15)
@ApiModelProperty(value = "主要供应品")
private String mainSupplies;
/**
* 供应商联系人
*/
@Excel(name = "供应商联系人", width = 15)
@ApiModelProperty(value = "供应商联系人")
private String supplierContacts;
/**
* 供应商联系方式
*/
@Excel(name = "供应商联系方式", width = 15)
@ApiModelProperty(value = "供应商联系方式")
private String supplierContactInformation;
/**
* 法定代表人
*/
@Excel(name = "法定代表人", width = 15)
@ApiModelProperty(value = "法定代表人")
private String supplierLegalRepresentative;
/**
* 注册资本
*/
@Excel(name = "注册资本", width = 15)
@ApiModelProperty(value = "注册资本")
private String supplierRegisteredCapital;
/**
* 供应商地址
*/
@Excel(name = "供应商地址", width = 15)
@ApiModelProperty(value = "供应商地址")
private String supplierAddress;
/**
* 供应商电话
*/
@Excel(name = "供应商电话", width = 15)
@ApiModelProperty(value = "供应商电话")
private String supplierPhone;
/**
* 供应商传真
*/
@Excel(name = "供应商传真", width = 15)
@ApiModelProperty(value = "供应商传真")
private String supplierFax;
/**
* 供应商邮箱
*/
@Excel(name = "供应商邮箱", width = 15)
@ApiModelProperty(value = "供应商邮箱")
private String supplierMail;
/**
* 供应商网址
*/
@Excel(name = "供应商网址", width = 15)
@ApiModelProperty(value = "供应商网址")
private String supplierWebsite;
/**
* 供应商简介
*/
@Excel(name = "供应商简介", width = 15)
@ApiModelProperty(value = "供应商简介")
private String supplierBriefIntroduction;
/**
* 创建人id
*/
@ApiModelProperty(value = "创建人id")
private String createBy;
/**
* 创建时间
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private java.util.Date createTime;
/**
* 修改人id
*/
@ApiModelProperty(value = "修改人id")
private String updateBy;
/**
* 修改时间
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "修改时间")
private java.util.Date updateTime;
/**
* 所属部门
*/
@ApiModelProperty(value = "所属部门")
private String createDept;
/**
* 所属公司
*/
@ApiModelProperty(value = "所属公司")
private String createCmpy;
/**
* 删除标识,0:有效,1:删除
*/
@ApiModelProperty(value = "删除标识,0:有效,1:删除")
private Integer delFlag;
}