Files
customer-server/model/dto/account_user_dialog_dto.go

29 lines
1.0 KiB
Go

package dto
type AddAccountUserDialogReq struct {
AccountId int64 `json:"accountId" v:"required#accountId不能为空" dc:"客服id"`
UserId string `json:"userId" v:"required#userId不能为空" dc:"用户id"`
DialogCount int64 `json:"dialogCount" v:"required#dialogCount不能为空" dc:"对话次数"`
}
type UpdateAccountUserDialogReq struct {
Id int64 `json:"id" v:"required#id不能为空"`
DialogCount int64 `json:"dialogCount" v:"required#dialogCount不能为空" dc:"对话次数"`
}
type DeleteAccountUserDialogReq struct {
Id int64 `json:"id" v:"required#id不能为空"`
}
type GetAccountUserDialogReq struct {
AccountId int64 `json:"accountId" v:"required#accountId不能为空" dc:"客服id"`
UserId string `json:"userId" v:"required#userId不能为空" dc:"用户id"`
}
type AccountUserDialogVO struct {
Id int64 `json:"id,string" dc:"id"`
AccountId int64 `json:"accountId,string" dc:"客服id"`
UserId string `json:"userId" dc:"用户id"`
DialogCount int64 `json:"dialogCount" dc:"对话次数"`
}