|
|
@@ -10,25 +10,27 @@ import (
|
|
|
|
|
|
// PlatPunchRecords is the golang structure for table plat_punch_records.
|
|
|
type PlatPunchRecords struct {
|
|
|
- Id int `orm:"id,primary" json:"id"` // 主键
|
|
|
- UserId int `orm:"user_id" json:"userId"` // 关联用户
|
|
|
- UserNickName string `orm:"user_nick_name" json:"userNickName"` // 用户昵称
|
|
|
- UserPostName string `orm:"user_post_name" json:"userPostName"` // 用户岗位
|
|
|
- UserAvatar string `orm:"user_avatar" json:"userAvatar"` // 用户头像
|
|
|
- PunchTime *gtime.Time `orm:"punch_time" json:"punchTime"` // 打卡时间
|
|
|
- PunchImg string `orm:"punch_img" json:"punchImg"` // 打卡照片
|
|
|
- PunchLng string `orm:"punch_lng" json:"punchLng"` // 经度
|
|
|
- PunchLat string `orm:"punch_lat" json:"punchLat"` // 纬度
|
|
|
- PunchLocation string `orm:"punch_location" json:"punchLocation"` // 打卡地址
|
|
|
- Remark string `orm:"remark" json:"remark"` // 备注
|
|
|
- CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
|
|
|
- CreatedName string `orm:"created_name" json:"createdName"` // 创建人
|
|
|
- CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
|
|
|
- UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
|
|
|
- UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
|
|
|
- UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
|
|
|
- DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
|
|
|
- PunchType string `orm:"punch_type" json:"punchType"` // 打卡类型(10居家20客户30经销商40代理商)
|
|
|
- TargetId int `orm:"target_id" json:"targetId"` //根据打卡类型选择10居家->不需要录入20客户
|
|
|
- TargetName string `orm:"target_name" json:"targetName"` // 根据打卡类型选择
|
|
|
+ Id int `orm:"id,primary" json:"id"` // 主键
|
|
|
+ UserId int `orm:"user_id" json:"userId"` // 关联用户
|
|
|
+ UserNickName string `orm:"user_nick_name" json:"userNickName"` // 用户昵称
|
|
|
+ UserPostName string `orm:"user_post_name" json:"userPostName"` // 用户岗位
|
|
|
+ UserAvatar string `orm:"user_avatar" json:"userAvatar"` // 用户头像
|
|
|
+ PunchTime *gtime.Time `orm:"punch_time" json:"punchTime"` // 打卡时间
|
|
|
+ PunchImg string `orm:"punch_img" json:"punchImg"` // 打卡照片
|
|
|
+ PunchLng string `orm:"punch_lng" json:"punchLng"` // 经度
|
|
|
+ PunchLat string `orm:"punch_lat" json:"punchLat"` // 纬度
|
|
|
+ PunchLocation string `orm:"punch_location" json:"punchLocation"` // 打卡地址
|
|
|
+ Remark string `orm:"remark" json:"remark"` // 备注
|
|
|
+ CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
|
|
|
+ CreatedName string `orm:"created_name" json:"createdName"` // 创建人
|
|
|
+ CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
|
|
|
+ UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
|
|
|
+ UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
|
|
|
+ UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
|
|
|
+ DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
|
|
|
+ PunchType string `orm:"punch_type" json:"punchType"` // 打卡类型(10居家20客户30经销商40代理商)
|
|
|
+ TargetId int `orm:"target_id" json:"targetId"` // 根据打卡类型选择 10居家->不需要录入 20客户->客户ID 30经销商->经销商ID 40代理商->代理商ID
|
|
|
+ TargetName string `orm:"target_name" json:"targetName"` // 根据打卡类型选择 10居家->不需要录入 20客户->客户名称 30经销商->经销商名称 40代理商->代理商名称
|
|
|
+ PartnerContactId int `orm:"partner_contact_id" json:"partnerContactId"` // 合作伙伴联系人id
|
|
|
+ PartnerContactName string `orm:"partner_contact_name" json:"partnerContactName"` // 合作伙伴联系人
|
|
|
}
|