liujiandao
2024-03-04 038aa6802a08c7cb3e051f79087a79f20f1e36a3
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"`
   }