-
Notifications
You must be signed in to change notification settings - Fork 0
/
fields_bind.go
34 lines (32 loc) · 996 Bytes
/
fields_bind.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 ServiceHousekeeping
import (
CoreSQLConfig "github.com/fotomxq/weeekj_core/v5/core/sql/config"
"time"
)
// FieldsBind 服务人员
type FieldsBind struct {
//ID
ID int64 `db:"id" json:"id"`
//创建时间
CreateAt time.Time `db:"create_at" json:"createAt"`
//更新时间
UpdateAt time.Time `db:"update_at" json:"updateAt"`
//删除时间
DeleteAt time.Time `db:"delete_at" json:"deleteAt"`
//组织ID
OrgID int64 `db:"org_id" json:"orgID"`
//服务负责人
BindID int64 `db:"bind_id" json:"bindID"`
//分区ID
MapAreaID int64 `db:"map_area_id" json:"mapAreaID"`
//服务累计收款
AllTakePrice int64 `db:"all_take_price" json:"allTakePrice"`
//累计服务次数
AllLogCount int64 `db:"all_log_count" json:"allLogCount"`
//累计评分
AllLevel int64 `db:"all_level" json:"allLevel"`
//当前未完成任务
UnFinishCount int64 `db:"un_finish_count" json:"unFinishCount"`
//扩展参数
Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"`
}