liujie
2025-09-05 6d4a80b03e6d0eb590b7c3330452fabceffad470
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
package com.ruoyi.system.model;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.aspectj.weaver.ast.Not;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * <p>
 * erp商品
 * </p>
 *
 * @author xiaochen
 * @since 2025-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_erp_goods")
@ApiModel(value="TErpGoods对象", description="erp商品")
public class TErpGoods extends BaseModel {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
 
    @ApiModelProperty(value = "供应商id/诊所id")
    @TableField("supplier_clinic_id")
    private String supplierClinicId;
 
    @ApiModelProperty(value = "商品来源 1=平台添加 2=线下添加")
    @TableField("goods_source")
    private Integer goodsSource;
 
    @ApiModelProperty(value = "商品名称")
    @TableField("goods_name")
    @Excel(name = "*商品名称")
    private String goodsName;
 
    @ApiModelProperty(value = "商品标识码")
    @TableField("goods_id_code")
    @Excel(name = "*商品标识码")
    private String goodsIdCode;
 
    @ApiModelProperty(value = "国药准字号")
    @TableField("quasi_number")
    @Excel(name = "*国药准字号")
    private String quasiNumber;
 
    @ApiModelProperty(value = "生产厂家")
    @TableField("manufacturer")
    @Excel(name = "*生产厂家")
    private String manufacturer;
 
    @ApiModelProperty(value = "制剂规格")
    @TableField("formulation_spec")
    @Excel(name = "*制剂规格")
    private String formulationSpec;
 
    @ApiModelProperty(value = "包装规格")
    @TableField("packing_spec")
    @Excel(name = "*包装规格")
    private String packingSpec;
 
    @ApiModelProperty(value = "商品类型名称")
    @TableField(exist = false)
    @Excel(name = "*商品类型")
    private String typeName;
 
    @ApiModelProperty(value = "诊所采购价")
    @TableField("clinic_purchase_price")
    @Excel(name = "*诊所采购价")
    private BigDecimal clinicPurchasePrice;
 
    @ApiModelProperty(value = "预警库存")
    @TableField("warning_inventory")
    @Excel(name = "*预警库存")
    private Integer warningInventory;
 
 
    @ApiModelProperty(value = "商品类型id")
    @TableField("type_id")
    private String typeId;
 
    @ApiModelProperty(value = "商品69码")
    @TableField("goods_yards")
    @Excel(name = "商品69码")
    private String goodsYards;
 
    @Excel(name = "保养周期(天)")
    private String maintenanceInterval;
 
    @ApiModelProperty(value = "最低采购数量")
    @TableField("low_purchase_quantity")
    @Excel(name = "最低采购数量")
    private Integer lowPurchaseQuantity;
 
    @ApiModelProperty(value = "最低采购单位,单位id")
    @TableField("low_unit_id")
    private String lowUnitId;
 
    @Excel(name = "最低采购单位")
    @TableField(exist = false)
    private String lowUnitName;
 
    @ApiModelProperty(value = "是否为处方药 1=是 2=否")
    @TableField("is_prescription_drug")
    @Excel(name = "是否为处方药",replace = {"是_1","否_2"})
    private Integer isPrescriptionDrug;
 
    @Excel(name = "包装单位")
    @TableField(exist = false)
    private String packingUnitName;
 
 
    @ApiModelProperty(value = "商品规格")
    @TableField("goods_spec")
    private String goodsSpec;
 
 
 
    @ApiModelProperty(value = "商品售价")
    @TableField("sales_amount")
    private BigDecimal salesAmount;
 
    @ApiModelProperty(value = "包装单位,单位id")
    @TableField("packing_unit_id")
    private String packingUnitId;
 
 
 
    @ApiModelProperty(value = "使用说明")
    @TableField("instructions_use")
    @Excel(name = "使用说明")
    private String instructionsUse;
 
    @ApiModelProperty(value = "副作用")
    @TableField("side_effect")
    @Excel(name = "副作用")
    private String sideEffect;
 
 
    @ApiModelProperty(value = "平台分佣金额")
    @TableField("platform_commission_price")
    private BigDecimal platformCommissionPrice;
 
    @ApiModelProperty(value = "1启用 2禁用")
    private Integer state;
 
 
    @ApiModelProperty(value = "拼音简码")
    @TableField("simplified_code")
    @Excel(name = "拼音简码")
    private String simplifiedCode;
 
    @ApiModelProperty(value = "剂型")
    @TableField("dosage_form")
    @Excel(name = "剂型")
    private String dosageForm;
 
    @ApiModelProperty(value = "用途分类")
    @TableField("usage_classification")
    @Excel(name = "用途分类")
    private String usageClassification;
 
    @ApiModelProperty(value = "商品品牌名")
    @TableField("product_brand")
    @Excel(name = "商品名(品牌)")
    private String productBrand;
 
    @ApiModelProperty(value = "产地")
    @TableField("place_of_origin")
    @Excel(name = "产地")
    private String placeOfOrigin;
 
    @ApiModelProperty(value = "成分")
    @TableField("ingredient")
    @Excel(name = "主要成分")
    private String ingredient;
 
    @ApiModelProperty(value = "性状")
    @TableField("trait")
    @Excel(name = "性状")
    private String trait;
 
    @ApiModelProperty(value = "适应症")
    @TableField("indication")
    @Excel(name = "适应症")
    private String indication;
 
    @ApiModelProperty(value = "禁忌")
    @TableField("taboo")
    @Excel(name = "禁忌")
    private String taboo;
 
    @ApiModelProperty(value = "注意事项")
    @TableField("precautions")
    @Excel(name = "注意事项")
    private String precautions;
 
    @ApiModelProperty(value = "相互作用")
    @TableField("interaction")
    @Excel(name = "相互作用")
    private String interaction;
 
    @ApiModelProperty(value = "贮藏")
    @TableField("storage")
    @Excel(name = "贮藏")
    private String storage;
 
 
 
 
 
}