|
@@ -28,6 +28,7 @@ type ContractRegister struct {
|
|
|
ContractStatus int `gorm:"column:contract_status" json:"contract_status" description:"合同状态: 1-已审批; 2-单章寄出; 3-已签回"`
|
|
|
RegisterStatus int `gorm:"column:register_status" json:"register_status" description:"登记状态: 1-进行中; 2-已完成;"`
|
|
|
Remark string `gorm:"column:remark" json:"remark" description:"备注信息"`
|
|
|
+ ServiceRemark string `gorm:"column:service_remark" json:"service_remark" description:"套餐备注信息"`
|
|
|
IsDeleted int `gorm:"column:is_deleted" json:"is_deleted" description:"是否已删除: 0-正常; 1-已删除"`
|
|
|
base.TimeBase
|
|
|
}
|
|
@@ -156,6 +157,7 @@ type ContractRegisterAddReq struct {
|
|
|
ContractStatus int `json:"contract_status" binding:"oneof=1 2 3" description:"合同状态: 1-已审批; 2-单章寄出; 3-已签回"`
|
|
|
Remark string `json:"remark" description:"备注信息"`
|
|
|
ProductId int `json:"product_id" binding:"oneof=1 2" description:"产品ID"`
|
|
|
+ ServiceRemark string `json:"service_remark" description:"套餐备注"`
|
|
|
Services []ContractServiceAddReq `json:"services" description:"服务套餐内容"`
|
|
|
}
|
|
|
|