diff --git a/app/models/productsmodel/products.go b/app/models/productsmodel/products.go index df0adf4..5008370 100644 --- a/app/models/productsmodel/products.go +++ b/app/models/productsmodel/products.go @@ -27,7 +27,7 @@ type Products struct { Deleted time.Time `xorm:"'Deleted' datetime"` Status string `xorm:"'status' UNSIGNED TINYINT"` Description string `xorm:"'description' varchar(500)"` - ThirdProductId int `xorm:"'third_product_Id' int(0)"` + ThirdProductId string `xorm:"'third_product_Id' varchar(100)"` } type MilkProductsList struct {