|
@@ -146,21 +146,21 @@ func (GoodInfoSeven) TableName() string {
|
146
|
146
|
}
|
147
|
147
|
|
148
|
148
|
type GoodsTypeOne struct {
|
149
|
|
- ID int64 `gorm:"column:id" json:"id"`
|
150
|
|
- TypeCode string `gorm:"column:type_code" json:"type_code"`
|
151
|
|
- TypeName string `gorm:"column:type_name" json:"type_name"`
|
152
|
|
- Remark string `gorm:"column:remark" json:"remark"`
|
153
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime"`
|
154
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime"`
|
155
|
|
- Creater int64 `gorm:"column:creater" json:"creater"`
|
156
|
|
- Modifier int64 `gorm:"column:modifier" json:"modifier"`
|
157
|
|
- OrgId int64 `gorm:"column:org_id" json:"org_id"`
|
158
|
|
- Status int64 `gorm:"column:status" json:"status"`
|
159
|
|
- Type int64 `gorm:"column:type" json:"type"`
|
160
|
|
- Number int64 `gorm:"column:number" json:"number"`
|
161
|
|
- OutStock int64 `gorm:"column:out_stock" json:"out_stock" form:"out_stock"`
|
162
|
|
- StockAttribute int64 `gorm:"column:stock_attribute" json:"stock_attribute" form:"stock_attribute"`
|
163
|
|
- GoodInfo []*GoodInfo `gorm:"ForeignKey:GoodTypeId;AssociationForeignKey:ID" json:"GoodInfo"`
|
|
149
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
150
|
+ TypeCode string `gorm:"column:type_code" json:"type_code"`
|
|
151
|
+ TypeName string `gorm:"column:type_name" json:"type_name"`
|
|
152
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
153
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime"`
|
|
154
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime"`
|
|
155
|
+ Creater int64 `gorm:"column:creater" json:"creater"`
|
|
156
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier"`
|
|
157
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id"`
|
|
158
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
159
|
+ Type int64 `gorm:"column:type" json:"type"`
|
|
160
|
+ Number int64 `gorm:"column:number" json:"number"`
|
|
161
|
+ OutStock int64 `gorm:"column:out_stock" json:"out_stock" form:"out_stock"`
|
|
162
|
+ StockAttribute int64 `gorm:"column:stock_attribute" json:"stock_attribute" form:"stock_attribute"`
|
|
163
|
+ GoodInfo []*GoodInformationThirty `gorm:"ForeignKey:GoodTypeId;AssociationForeignKey:ID" json:"GoodInfo"`
|
164
|
164
|
}
|
165
|
165
|
|
166
|
166
|
func (GoodsTypeOne) TableName() string {
|
|
@@ -217,3 +217,75 @@ type BloodGoodsType struct {
|
217
|
217
|
func (BloodGoodsType) TableName() string {
|
218
|
218
|
return "xt_goods_type"
|
219
|
219
|
}
|
|
220
|
+
|
|
221
|
+type GoodInformationThirty struct {
|
|
222
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
223
|
+ GoodCode string `gorm:"column:good_code" json:"good_code" form:"good_code"`
|
|
224
|
+ SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
|
|
225
|
+ GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id" form:"good_type_id"`
|
|
226
|
+ GoodUnit int64 `gorm:"column:good_unit" json:"good_unit" form:"good_unit"`
|
|
227
|
+ BuyPrice float64 `gorm:"column:buy_price" json:"buy_price" form:"buy_price"`
|
|
228
|
+ SellPrice float64 `gorm:"column:sell_price" json:"sell_price" form:"sell_price"`
|
|
229
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
230
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
231
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
232
|
+ Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
|
233
|
+ Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
|
234
|
+ ExpiryDateWarnDayCount int64 `gorm:"column:expiry_date_warn_day_count" json:"expiry_date_warn_day_count" form:"expiry_date_warn_day_count"`
|
|
235
|
+ StockWarnCount int64 `gorm:"column:stock_warn_count" json:"stock_warn_count" form:"stock_warn_count"`
|
|
236
|
+ IsReuse int64 `gorm:"column:is_reuse" json:"is_reuse" form:"is_reuse"`
|
|
237
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
238
|
+ FilmArea string `gorm:"column:film_area" json:"film_area" form:"film_area"`
|
|
239
|
+ IsUse int64 `gorm:"column:is_use" json:"is_use" form:"is_use"`
|
|
240
|
+ FilmMaterialQuality string `gorm:"column:film_material_quality" json:"film_material_quality" form:"film_material_quality"`
|
|
241
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
242
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
243
|
+ Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
|
|
244
|
+ GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
|
|
245
|
+ Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
|
|
246
|
+ Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
|
|
247
|
+ GoodKind int64 `gorm:"column:good_kind" json:"good_kind" form:"good_kind"`
|
|
248
|
+ MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
|
|
249
|
+ RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
|
250
|
+ MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
|
|
251
|
+ IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
|
|
252
|
+ IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
|
|
253
|
+ StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
|
|
254
|
+ GoodStatus string `gorm:"column:good_status" json:"good_status" form:"good_status"`
|
|
255
|
+ DefaultCount int64 `gorm:"column:default_count" json:"default_count" form:"default_count"`
|
|
256
|
+ IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
|
|
257
|
+ IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
|
|
258
|
+ IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
|
|
259
|
+ IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
|
|
260
|
+ Sign int64 `gorm:"column:sign" json:"sign" form:"sign"`
|
|
261
|
+ Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
|
262
|
+ IsDoctorUse int64 `gorm:"column:is_doctor_use" json:"is_doctor_use" form:"is_doctor_use"`
|
|
263
|
+ Agent string `gorm:"column:agent" json:"agent" form:"agent"`
|
|
264
|
+ GoodNumber string `gorm:"column:good_number" json:"good_number" form:"good_number"`
|
|
265
|
+ CommdityCode string `gorm:"column:commdity_code" json:"commdity_code" form:"commdity_code"`
|
|
266
|
+ SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
|
|
267
|
+ ProductionType string `gorm:"column:production_type" json:"production_type" form:"production_type"`
|
|
268
|
+ SpecialMedical string `gorm:"column:special_medical" json:"special_medical" form:"special_medical"`
|
|
269
|
+ IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
|
|
270
|
+ Total float64 `gorm:"column:total" json:"total" form:"total"`
|
|
271
|
+ MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
|
|
272
|
+ PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
|
|
273
|
+ PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
|
|
274
|
+ DefaultCountUnit string `gorm:"column:default_count_unit" json:"default_count_unit" form:"default_count_unit"`
|
|
275
|
+ MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
|
|
276
|
+ RegisterNumber string `gorm:"column:register_number" json:"register_number" form:"register_number"`
|
|
277
|
+ ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
|
|
278
|
+ IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
|
|
279
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
280
|
+ IsWarehouse string `gorm:"column:is_warehouse" json:"is_warehouse" form:"is_warehouse"`
|
|
281
|
+ BatchRetaiPrice float64 `gorm:"column:batch_retai_price" json:"batch_retai_price" form:"batch_retai_price"`
|
|
282
|
+ SumCount int64 `gorm:"column:sum_count" json:"sum_count" form:"sum_count"`
|
|
283
|
+ SumInCount int64 `gorm:"column:sum_in_count" json:"sum_in_count" form:"sum_in_count"`
|
|
284
|
+ TotalCount int64 `gorm:"column:total_count" json:"total_count" form:"total_count"`
|
|
285
|
+ SumOutCount int64 `gorm:"column:sum_out_count" json:"sum_out_count" form:"sum_out_count"`
|
|
286
|
+ SumCancelCount int64 `gorm:"column:sum_cancel_count" json:"sum_cancel_count" form:"sum_cancel_count"`
|
|
287
|
+}
|
|
288
|
+
|
|
289
|
+func (GoodInformationThirty) TableName() string {
|
|
290
|
+ return "xt_good_information"
|
|
291
|
+}
|