2 Star 0 Fork 0

hero/momo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ylyt_call_bind.go 2.68 KB
一键复制 编辑 原始数据 按行查看 历史
hero 提交于 2024-11-04 11:45 . upd:目录结构调整
package models
import "time"
type YlytCallBind struct {
TenantId string `gorm:"column:tenant_id " json:"TenantId" form:"TenantId" comment:"租户id"`
AgentId int64 `gorm:"column:agent_id " json:"AgentId" form:"AgentId" comment:"代理商id"`
ClientId int64 `gorm:"column:client_id " json:"ClientId" form:"ClientId" comment:"应用id"`
MerchantId int64 `gorm:"column:merchant_id " json:"MerchantId" form:"MerchantId" comment:"商户id"`
LineId int64 `gorm:"column:line_id " json:"LineId" form:"LineId" comment:"线路id"`
ClientName string `gorm:"column:client_name " json:"ClientName" form:"ClientName" comment:"agent_name|client_name|merchant_name|line_name"`
Callidentifier string `gorm:"column:callidentifier " json:"Callidentifier" form:"Callidentifier" comment:"呼叫标识"`
Caller string `gorm:"column:caller " json:"Caller" form:"Caller" comment:"主显"`
Sponsor string `gorm:"column:sponsor " json:"Sponsor" form:"Sponsor" comment:"小号"`
Callee string `gorm:"column:callee " json:"Callee" form:"Callee" comment:"被叫"`
Sort int `gorm:"column:sort " json:"Sort" form:"Sort" comment:"排序"`
Remark string `gorm:"column:remark " json:"Remark" form:"Remark" comment:"描述"`
CreateUser int64 `gorm:"column:create_user " json:"CreateUser" form:"CreateUser" comment:"创建人"`
CreateDept int64 `gorm:"column:create_dept " json:"CreateDept" form:"CreateDept" comment:"创建部门"`
CreateTime time.Time `gorm:"column:create_time " json:"CreateTime" form:"CreateTime" comment:"创建时间"`
UpdateUser int64 `gorm:"column:update_user " json:"UpdateUser" form:"UpdateUser" comment:"修改人"`
UpdateTime time.Time `gorm:"column:update_time " json:"UpdateTime" form:"UpdateTime" comment:"修改时间"`
Status int `gorm:"column:status " json:"Status" form:"Status" comment:"状态"`
IsDeleted int `gorm:"column:is_deleted " json:"IsDeleted" form:"IsDeleted" comment:"是否已删除"`
DistrictCode string `gorm:"column:district_code " json:"DistrictCode" form:"DistrictCode" comment:"区域id"`
IndustryId int64 `gorm:"column:industry_id " json:"IndustryId" form:"IndustryId" comment:"行业id"`
Req string `gorm:"column:req " json:"Req" form:"Req" comment:"请求体"`
ResCode int `gorm:"column:res_code " json:"ResCode" form:"ResCode" comment:"响应code"`
ResBody string `gorm:"column:res_body " json:"ResBody" form:"ResBody" comment:"响应body"`
OutCallId string `gorm:"column:out_call_id " json:"OutCallId" form:"OutCallId" comment:"透传id"`
ExtJson interface{} `gorm:"column:ext_json " json:"ExtJson" form:"ExtJson" comment:"扩展字段"`
RequestStatusId int `gorm:"column:request_status_id " json:"RequestStatusId" form:"RequestStatusId" comment:"请求状态id"`
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/linqwen/momo.git
git@gitee.com:linqwen/momo.git
linqwen
momo
momo
v1.1.16

搜索帮助