feat: 新增账号编码和HTTP连接功能
This commit is contained in:
27
model/entity/account_user_dialog.go
Normal file
27
model/entity/account_user_dialog.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"gitea.com/red-future/common/beans"
|
||||
)
|
||||
|
||||
type accountUserDialogCol struct {
|
||||
beans.SQLBaseCol
|
||||
AccountId string
|
||||
UserId string
|
||||
DialogCount string
|
||||
}
|
||||
|
||||
var AccountUserDialogCol = accountUserDialogCol{
|
||||
SQLBaseCol: beans.DefSQLBaseCol,
|
||||
AccountId: "account_id",
|
||||
UserId: "user_id",
|
||||
DialogCount: "dialog_count",
|
||||
}
|
||||
|
||||
type AccountUserDialog struct {
|
||||
beans.SQLBaseDO `orm:",inline"`
|
||||
|
||||
AccountId int64 `orm:"account_id" json:"accountId" dc:"客服ID"`
|
||||
UserId string `orm:"user_id" json:"userId" dc:"用户ID"`
|
||||
DialogCount int64 `orm:"dialog_count" json:"dialogCount" dc:"对话次数"`
|
||||
}
|
||||
Reference in New Issue
Block a user