37 lines
2.6 KiB
Go
37 lines
2.6 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/encoding/gjson"
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// CustomerService is the golang structure for table customer_service.
|
|
type CustomerService struct {
|
|
Id uint64 `json:"id" orm:"id" description:"主键"`
|
|
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
|
ServiceCode string `json:"serviceCode" orm:"service_code" description:"客服编码"`
|
|
Name string `json:"name" orm:"name" description:"客服名称"`
|
|
AvatarUrl string `json:"avatarUrl" orm:"avatar_url" description:"头像地址"`
|
|
WorkTime string `json:"workTime" orm:"work_time" description:"工作时间说明"`
|
|
OnlineStatus int `json:"onlineStatus" orm:"online_status" description:"在线状态"`
|
|
ServiceUrl string `json:"serviceUrl" orm:"service_url" description:"客服跳转URL"`
|
|
BackupContact string `json:"backupContact" orm:"backup_contact" description:"备用联系方式"`
|
|
SessionMapping *gjson.Json `json:"sessionMapping" orm:"session_mapping" description:"第三方会话映射"`
|
|
ImTenantCode string `json:"imTenantCode" orm:"im_tenant_code" description:"IM租户代码"`
|
|
ImUserId string `json:"imUserId" orm:"im_user_id" description:"IM客服用户ID"`
|
|
ImUsername string `json:"imUsername" orm:"im_username" description:"IM客服登录名"`
|
|
Status int `json:"status" orm:"status" description:"状态"`
|
|
Sort int `json:"sort" orm:"sort" description:"排序"`
|
|
Remark string `json:"remark" orm:"remark" description:"备注"`
|
|
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
|
UpdatedBy uint64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
|
DeletedBy uint64 `json:"deletedBy" orm:"deleted_by" description:"删除者"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
|
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
|
}
|