zhangqian
2023-08-11 e027ac6cb0705ab4eda2a162fb70f4532f24af93
model/serviceFollowup.go
@@ -16,7 +16,7 @@
      Number               string               `json:"number" gorm:"column:number;type:varchar(255);comment:合同编号"`
      ContactId            int                  `json:"contactId" gorm:"column:contact_id;type:int;comment:联系人id"`
      Contact              Contact              `json:"contact"  gorm:"foreignKey:ContactId"`
      ServiceId            int                  `json:"serviceId" gorm:"column:service_id;type:int;comment:客户服务单id"`
      ServiceOrderId       int                  `json:"serviceOrderId" gorm:"column:service_order_id;type:int;comment:客户服务单id"`
      ServiceOrder         ServiceOrder         `gorm:"foreignKey:ServiceId"`
      CustomerServiceSheet CustomerServiceSheet `json:"customerServiceSheet" gorm:"foreignKey:ServiceId"`
      MemberId             int                  `json:"memberId" gorm:"column:member_id;type:int;comment:服务人员id"`
@@ -144,6 +144,11 @@
   return slf
}
func (slf *ServiceFollowupSearch) SetServiceOrderId(id int) *ServiceFollowupSearch {
   slf.ServiceOrderId = id
   return slf
}
func (slf *ServiceFollowupSearch) SetPreload(preload bool) *ServiceFollowupSearch {
   slf.Preload = preload
   return slf