package model
|
|
import "gorm.io/gorm"
|
|
type (
|
CustomerServiceSheet struct {
|
Id int `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
|
MemberId int `json:"memberId" gorm:"column:member_id;type:int;comment:服务人员id"`
|
Number string `json:"number" gorm:"column:number;type:varchar(255);comment:服务单号"`
|
ServiceMode int `json:"serviceMode" gorm:"column:service_mode;type:int;comment:服务方式"`
|
Priority int `json:"priority" gorm:"column:priority;type:int;comment:优先级"`
|
HandleStatus int `json:"handleStatus" gorm:"column:handle_status;type:int;comment:处理状态"`
|
gorm.Model `json:"-"`
|
}
|
|
CustomerServiceSheetSearch struct {
|
CustomerServiceSheet
|
Orm *gorm.DB
|
}
|
)
|