-
Notifications
You must be signed in to change notification settings - Fork 0
/
fields_log.go
34 lines (32 loc) · 1.01 KB
/
fields_log.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package FinancePhysicalPay
import (
CoreSQLConfig "github.com/fotomxq/weeekj_core/v5/core/sql/config"
CoreSQLFrom "github.com/fotomxq/weeekj_core/v5/core/sql/from"
"time"
)
// FieldsLog 请求记录
type FieldsLog struct {
//ID
ID int64 `db:"id" json:"id"`
//创建时间
CreateAt time.Time `db:"create_at" json:"createAt"`
//组织ID
OrgID int64 `db:"org_id" json:"orgID"`
//配送人员
BindID int64 `db:"bind_id" json:"bindID"`
//用户
UserID int64 `db:"user_id" json:"userID"`
//支付分发渠道
// order 订单 / tms 配送 / housekeeping 家政服务
System string `db:"system" json:"system"`
//标的物
PhysicalID int64 `db:"physical_id" json:"physicalID"`
//给予标的物数量
PhysicalCount int64 `db:"physical_count" json:"physicalCount"`
//货物来源标的物
BindFrom CoreSQLFrom.FieldsFrom `db:"bind_from" json:"bindFrom"`
//置换商品的数量
BindCount int64 `db:"bind_count" json:"bindCount"`
//扩展参数
Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"`
}