model/salesContractProduct.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
model/salesContractProduct.go
@@ -9,7 +9,7 @@ type ( // ServiceContractProduct 服务合同和产品关联 ServiceContractProduct struct { ServiceContractId int `json:"id" gorm:"column:sales_details_id;type:int;primary_key;not null;default:0"` ServiceContractId int `json:"id" gorm:"column:service_contract_id;type:int;primary_key;not null;default:0"` ProductId uint `json:"name" gorm:"primary_key;column:product_id;type:int;not null;default:0;comment:产品id"` }