fix
wangpengfei
2023-07-13 589191bfe2263228e20ae6de9f74badb7207b912
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
    }
)