| | |
| | | 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"` |
| | |
| | | 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 |