package model import "time" // PropsCommodityStore stores one props store commodity row. type PropsCommodityStore struct { ID int64 `gorm:"column:id;primaryKey"` SysOrigin string `gorm:"column:sys_origin;size:32;index:idx_props_store_source,priority:1"` SourceID int64 `gorm:"column:source_id;index:idx_props_store_source,priority:2"` PropsType string `gorm:"column:props_type;size:64"` CurrencyTypes string `gorm:"column:currency_types;size:128"` ValidDays string `gorm:"column:valid_days;size:128"` Discount *float64 `gorm:"column:discount;type:decimal(10,4)"` ShelfStatus *bool `gorm:"column:shelf_status"` Sort int `gorm:"column:sort"` Label string `gorm:"column:label;size:255"` Del *bool `gorm:"column:is_del"` CreateTime *time.Time `gorm:"column:create_time"` UpdateTime *time.Time `gorm:"column:update_time"` CreateUser *int64 `gorm:"column:create_user"` UpdateUser *int64 `gorm:"column:update_user"` } // TableName returns the props store commodity table name. func (PropsCommodityStore) TableName() string { return "props_commodity_store" }