service/dbstruct/single_distribute_his.go

27 lines
1.6 KiB
Go
Raw Normal View History

2024-06-19 13:58:47 +08:00
package dbstruct
type SingleDistributeHis struct {
Id *string `json:"id" bson:"_id"` // 慧用工下发打款历史表id
2024-06-21 18:25:24 +08:00
StatusCode *string `json:"status_code" bson:"status_code"` // 返回状态码
StatusText *string `json:"status_text" bson:"status_text"` // 返回状态描述
2024-06-19 13:58:47 +08:00
Mid *int64 `json:"mid" bson:"mid"` // 用户id
DistributeId *string `json:"distribute_id" bson:"distribute_id"` // 慧用工平台处理单号
DistributeStatus *int64 `json:"distribute_status" bson:"distribute_status"` // 下发状态
ServiceCharge *string `json:"service_charge" bson:"service_charge"` // 该笔下发的服务费(单位:分)
DistributeAmount *string `json:"distribute_amount" bson:"distribute_amount"` // 下发金额(单位:分)
Timestamp *string `json:"timestamp" bson:"timestamp"` // 下单时间
Remark *string `json:"remark" bson:"remark"` // 银行返回打款备注
ReasonCode *string `json:"reason_code" bson:"reason_code"` // 余额不足时会返回E00001
2024-06-24 19:14:31 +08:00
OrderId *string `json:"order_id" bson:""order_id` // 订单号
2024-06-19 13:58:47 +08:00
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
Ut *int64 `json:"ut" bson:"ut"` // 更新时间
DelFlag *int64 `json:"del_flag" bson:"del_flag"` // 删除标记
}
func (p *SingleDistributeHis) GetId() string {
if p != nil && p.Id != nil {
return *p.Id
}
return ""
}