feat: new
This commit is contained in:
@@ -105,10 +105,21 @@ type CallbackTicket struct {
|
||||
AgentName string `json:"agentName" gorm:"column:agent_name"` // 坐席名称
|
||||
Comment string `json:"comment" gorm:"column:comment"` // 工单备注
|
||||
MsdData string `json:"msdData" gorm:"column:msd_data"` // MSD数据
|
||||
RmUid string `json:"rmUid" gorm:"column:rm_uid"` // RM用户ID
|
||||
CreatedAt int64 `json:"createdAt" gorm:"column:created_at"` // 创建时间
|
||||
UpdatedAt *int64 `json:"updatedAt" gorm:"column:updated_at;autoUpdateTime:false"` // 更新时间
|
||||
}
|
||||
|
||||
type AgentInfo struct {
|
||||
Index int `json:"index"`
|
||||
Name string `json:"name"`
|
||||
Online bool `json:"online"`
|
||||
Email string `json:"email"`
|
||||
Mobile string `json:"mobile"`
|
||||
Domain string `json:"domain"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
// TableName 表名称
|
||||
func (*CallbackTicket) TableName() string {
|
||||
return "mf_callback_ticket"
|
||||
|
||||
Reference in New Issue
Block a user