crm
xuhy
2025-09-05 47b3dc73a5b9274815a3e3fa631ad911453c84ad
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
package com.ruoyi.system.model;
 
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 String goodsSource;
 
    @ApiModelProperty(value = "商品名称")
    @TableField("goods_name")
    private String goodsName;
 
    @ApiModelProperty(value = "商品标识码")
    @TableField("goods_id_code")
    private String goodsIdCode;
 
    @ApiModelProperty(value = "国药准字号")
    @TableField("quasi_number")
    private String quasiNumber;
 
    @ApiModelProperty(value = "生产厂家")
    @TableField("manufacturer")
    private String manufacturer;
 
    @ApiModelProperty(value = "制剂规格")
    @TableField("formulation_spec")
    private String formulationSpec;
 
    @ApiModelProperty(value = "包装规格")
    @TableField("packing_spec")
    private String packingSpec;
 
    @ApiModelProperty(value = "商品类型id")
    @TableField("type_id")
    private String typeId;
 
    @ApiModelProperty(value = "商品69码")
    @TableField("goods_yards")
    private String goodsYards;
 
    @ApiModelProperty(value = "保养周期")
    @TableField("maintenance_interval")
    private String maintenanceInterval;
 
    @ApiModelProperty(value = "最低采购数量")
    @TableField("low_purchase_quantity")
    private Integer lowPurchaseQuantity;
 
    @ApiModelProperty(value = "最低采购单位,单位id")
    @TableField("low_unit_id")
    private String lowUnitId;
 
    @ApiModelProperty(value = "是否为处方药 1=是 2=否")
    @TableField("is_prescription_drug")
    private Integer isPrescriptionDrug;
 
    @ApiModelProperty(value = "商品规格")
    @TableField("goods_spec")
    private String goodsSpec;
 
    @ApiModelProperty(value = "预警库存")
    @TableField("warning_inventory")
    private Integer warningInventory;
 
    @ApiModelProperty(value = "商品售价")
    @TableField("sales_amount")
    private BigDecimal salesAmount;
 
    @ApiModelProperty(value = "包装单位,单位id")
    @TableField("packing_unit_id")
    private String packingUnitId;
 
    @ApiModelProperty(value = "使用说明")
    @TableField("instructions_use")
    private String instructionsUse;
 
    @ApiModelProperty(value = "副作用")
    @TableField("side_effect")
    private String sideEffect;
 
    @ApiModelProperty(value = "诊所采购价")
    @TableField("clinic_purchase_price")
    private BigDecimal clinicPurchasePrice;
 
    @ApiModelProperty(value = "平台分佣金额")
    @TableField("platform_commission_price")
    private BigDecimal platformCommissionPrice;
 
    @ApiModelProperty(value = "1启用 2禁用")
    private Integer state;
 
 
    @ApiModelProperty(value = "商品类型名称")
    @TableField(exist = false)
    private String typeName;
 
    @ApiModelProperty(value = "拼音简码")
    @TableField("simplified_code")
    private String simplifiedCode;
 
    @ApiModelProperty(value = "剂型")
    @TableField("dosage_form")
    private String dosageForm;
 
    @ApiModelProperty(value = "用途分类")
    @TableField("usage_classification")
    private String usageClassification;
 
    @ApiModelProperty(value = "商品品牌名")
    @TableField("product_brand")
    private String productBrand;
 
    @ApiModelProperty(value = "产地")
    @TableField("place_of_origin")
    private String placeOfOrigin;
 
    @ApiModelProperty(value = "成分")
    @TableField("ingredient")
    private String ingredient;
 
    @ApiModelProperty(value = "性状")
    @TableField("trait")
    private String trait;
 
    @ApiModelProperty(value = "适应症")
    @TableField("indication")
    private String indication;
 
    @ApiModelProperty(value = "禁忌")
    @TableField("taboo")
    private String taboo;
 
    @ApiModelProperty(value = "注意事项")
    @TableField("precautions")
    private String precautions;
 
    @ApiModelProperty(value = "相互作用")
    @TableField("interaction")
    private String interaction;
 
    @ApiModelProperty(value = "贮藏")
    @TableField("storage")
    private String storage;
 
 
 
 
 
}