Documentation
¶
Index ¶
- Constants
- type CmsSubjectProductRelation
- type UmsGrowthChangeHistory
- type UmsIntegrationChangeHistory
- type UmsIntegrationConsumeSetting
- type UmsMember
- type UmsMemberBrandAttention
- type UmsMemberLevel
- type UmsMemberLoginLog
- type UmsMemberMemberTagRelation
- type UmsMemberProductCategoryRelation
- type UmsMemberProductCollection
- type UmsMemberReadHistory
- type UmsMemberReceiveAddress
- type UmsMemberRuleSetting
- type UmsMemberStatisticsInfo
- type UmsMemberTag
- type UmsMemberTask
Constants ¶
const TableNameCmsSubjectProductRelation = "cms_subject_product_relation"
const TableNameUmsGrowthChangeHistory = "ums_growth_change_history"
const TableNameUmsIntegrationChangeHistory = "ums_integration_change_history"
const TableNameUmsIntegrationConsumeSetting = "ums_integration_consume_setting"
const TableNameUmsMember = "ums_member"
const TableNameUmsMemberBrandAttention = "ums_member_brand_attention"
const TableNameUmsMemberLevel = "ums_member_level"
const TableNameUmsMemberLoginLog = "ums_member_login_log"
const TableNameUmsMemberMemberTagRelation = "ums_member_member_tag_relation"
const TableNameUmsMemberProductCategoryRelation = "ums_member_product_category_relation"
const TableNameUmsMemberProductCollection = "ums_member_product_collection"
const TableNameUmsMemberReadHistory = "ums_member_read_history"
const TableNameUmsMemberReceiveAddress = "ums_member_receive_address"
const TableNameUmsMemberRuleSetting = "ums_member_rule_setting"
const TableNameUmsMemberStatisticsInfo = "ums_member_statistics_info"
const TableNameUmsMemberTag = "ums_member_tag"
const TableNameUmsMemberTask = "ums_member_task"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmsSubjectProductRelation ¶
type CmsSubjectProductRelation struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` SubjectID int64 `gorm:"column:subject_id;not null" json:"subject_id"` ProductID int64 `gorm:"column:product_id;not null" json:"product_id"` }
CmsSubjectProductRelation 专题商品关系表
func (*CmsSubjectProductRelation) TableName ¶
func (*CmsSubjectProductRelation) TableName() string
TableName CmsSubjectProductRelation's table name
type UmsGrowthChangeHistory ¶
type UmsGrowthChangeHistory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id ChangeType int32 `gorm:"column:change_type;not null;comment:改变类型:0->增加;1->减少" json:"change_type"` // 改变类型:0->增加;1->减少 ChangeCount int32 `gorm:"column:change_count;not null;comment:积分改变数量" json:"change_count"` // 积分改变数量 OperateMan string `gorm:"column:operate_man;not null;comment:操作人员" json:"operate_man"` // 操作人员 OperateNote string `gorm:"column:operate_note;not null;comment:操作备注" json:"operate_note"` // 操作备注 SourceType int32 `gorm:"column:source_type;not null;comment:积分来源:0->购物;1->管理员修改" json:"source_type"` // 积分来源:0->购物;1->管理员修改 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"create_time"` // 创建时间 }
UmsGrowthChangeHistory 成长值变化历史记录表
func (*UmsGrowthChangeHistory) TableName ¶
func (*UmsGrowthChangeHistory) TableName() string
TableName UmsGrowthChangeHistory's table name
type UmsIntegrationChangeHistory ¶
type UmsIntegrationChangeHistory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id ChangeType int32 `gorm:"column:change_type;not null;comment:改变类型:0->增加;1->减少" json:"change_type"` // 改变类型:0->增加;1->减少 ChangeCount int32 `gorm:"column:change_count;not null;comment:积分改变数量" json:"change_count"` // 积分改变数量 OperateMan string `gorm:"column:operate_man;not null;comment:操作人员" json:"operate_man"` // 操作人员 OperateNote string `gorm:"column:operate_note;not null;comment:操作备注" json:"operate_note"` // 操作备注 SourceType int32 `gorm:"column:source_type;not null;comment:积分来源:0->购物;1->管理员修改" json:"source_type"` // 积分来源:0->购物;1->管理员修改 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"create_time"` // 创建时间 }
UmsIntegrationChangeHistory 积分变化历史记录表
func (*UmsIntegrationChangeHistory) TableName ¶
func (*UmsIntegrationChangeHistory) TableName() string
TableName UmsIntegrationChangeHistory's table name
type UmsIntegrationConsumeSetting ¶
type UmsIntegrationConsumeSetting struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` DeductionPerAmount int32 `gorm:"column:deduction_per_amount;not null;comment:每一元需要抵扣的积分数量" json:"deduction_per_amount"` // 每一元需要抵扣的积分数量 MaxPercentPerOrder int32 `gorm:"column:max_percent_per_order;not null;comment:每笔订单最高抵用百分比" json:"max_percent_per_order"` // 每笔订单最高抵用百分比 UseUnit int32 `gorm:"column:use_unit;not null;comment:每次使用积分最小单位100" json:"use_unit"` // 每次使用积分最小单位100 IsDefault int32 `gorm:"column:is_default;not null;comment:是否默认:0->否;1->是" json:"is_default"` // 是否默认:0->否;1->是 CouponStatus int32 `gorm:"column:coupon_status;not null;comment:是否可以和优惠券同用;0->不可以;1->可以" json:"coupon_status"` // 是否可以和优惠券同用;0->不可以;1->可以 }
UmsIntegrationConsumeSetting 积分消费设置
func (*UmsIntegrationConsumeSetting) TableName ¶
func (*UmsIntegrationConsumeSetting) TableName() string
TableName UmsIntegrationConsumeSetting's table name
type UmsMember ¶
type UmsMember struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberLevelID int64 `gorm:"column:member_level_id;not null;comment:会员等级id" json:"member_level_id"` // 会员等级id MemberName string `gorm:"column:member_name;not null;comment:用户名" json:"member_name"` // 用户名 Password string `gorm:"column:password;not null;comment:密码" json:"password"` // 密码 Nickname string `gorm:"column:nickname;not null;comment:昵称" json:"nickname"` // 昵称 Phone string `gorm:"column:phone;not null;comment:手机号码" json:"phone"` // 手机号码 MemberStatus int32 `gorm:"column:member_status;not null;comment:帐号启用状态:0->禁用;1->启用" json:"member_status"` // 帐号启用状态:0->禁用;1->启用 Icon string `gorm:"column:icon;not null;comment:头像" json:"icon"` // 头像 Gender int32 `gorm:"column:gender;not null;comment:性别:0->未知;1->男;2->女" json:"gender"` // 性别:0->未知;1->男;2->女 Birthday time.Time `gorm:"column:birthday;not null;comment:生日" json:"birthday"` // 生日 City string `gorm:"column:city;not null;comment:所做城市" json:"city"` // 所做城市 Job string `gorm:"column:job;not null;comment:职业" json:"job"` // 职业 PersonalizedSignature string `gorm:"column:personalized_signature;not null;comment:个性签名" json:"personalized_signature"` // 个性签名 SourceType int32 `gorm:"column:source_type;not null;comment:用户来源" json:"source_type"` // 用户来源 Integration int32 `gorm:"column:integration;not null;comment:积分" json:"integration"` // 积分 Growth int32 `gorm:"column:growth;not null;comment:成长值" json:"growth"` // 成长值 LotteryCount int32 `gorm:"column:lottery_count;not null;comment:剩余抽奖次数" json:"lottery_count"` // 剩余抽奖次数 HistoryIntegration int32 `gorm:"column:history_integration;not null;comment:历史积分数量" json:"history_integration"` // 历史积分数量 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"create_time"` // 创建时间 UpdateTime *time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间 }
UmsMember 会员表
type UmsMemberBrandAttention ¶
type UmsMemberBrandAttention struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id MemberNickName string `gorm:"column:member_nick_name;not null;comment:会员姓名" json:"member_nick_name"` // 会员姓名 MemberIcon string `gorm:"column:member_icon;not null;comment:会员头像" json:"member_icon"` // 会员头像 BrandID int64 `gorm:"column:brand_id;not null;comment:品牌id" json:"brand_id"` // 品牌id BrandName string `gorm:"column:brand_name;not null;comment:品牌名称" json:"brand_name"` // 品牌名称 BrandLogo string `gorm:"column:brand_logo;not null;comment:品牌Logo" json:"brand_logo"` // 品牌Logo BrandCity string `gorm:"column:brand_city;not null;comment:品牌所在城市" json:"brand_city"` // 品牌所在城市 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:关注时间" json:"create_time"` // 关注时间 }
UmsMemberBrandAttention 会员关注品牌管理
func (*UmsMemberBrandAttention) TableName ¶
func (*UmsMemberBrandAttention) TableName() string
TableName UmsMemberBrandAttention's table name
type UmsMemberLevel ¶
type UmsMemberLevel struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` LevelName string `gorm:"column:level_name;not null;comment:等级名称" json:"level_name"` // 等级名称 GrowthPoint int32 `gorm:"column:growth_point;not null;comment:成长点" json:"growth_point"` // 成长点 DefaultStatus int32 `gorm:"column:default_status;not null;comment:是否为默认等级:0->不是;1->是" json:"default_status"` // 是否为默认等级:0->不是;1->是 FreeFreightPoint int64 `gorm:"column:free_freight_point;not null;comment:免运费标准" json:"free_freight_point"` // 免运费标准 CommentGrowthPoint int32 `gorm:"column:comment_growth_point;not null;comment:每次评价获取的成长值" json:"comment_growth_point"` // 每次评价获取的成长值 IsFreeFreight int32 `gorm:"column:is_free_freight;not null;comment:是否有免邮特权" json:"is_free_freight"` // 是否有免邮特权 IsSignIn int32 `gorm:"column:is_sign_in;not null;comment:是否有签到特权" json:"is_sign_in"` // 是否有签到特权 IsComment int32 `gorm:"column:is_comment;not null;comment:是否有评论获奖励特权" json:"is_comment"` // 是否有评论获奖励特权 IsPromotion int32 `gorm:"column:is_promotion;not null;comment:是否有专享活动特权" json:"is_promotion"` // 是否有专享活动特权 IsMemberPrice int32 `gorm:"column:is_member_price;not null;comment:是否有会员价格特权" json:"is_member_price"` // 是否有会员价格特权 IsBirthday int32 `gorm:"column:is_birthday;not null;comment:是否有生日特权" json:"is_birthday"` // 是否有生日特权 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 }
UmsMemberLevel 会员等级表
func (*UmsMemberLevel) TableName ¶
func (*UmsMemberLevel) TableName() string
TableName UmsMemberLevel's table name
type UmsMemberLoginLog ¶
type UmsMemberLoginLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id MemberIP string `gorm:"column:member_ip;not null;comment:登录ip" json:"member_ip"` // 登录ip City string `gorm:"column:city;not null;comment:登录城市" json:"city"` // 登录城市 LoginType int32 `gorm:"column:login_type;not null;comment:登录类型:0->PC;1->android;2->ios;3->小程序" json:"login_type"` // 登录类型:0->PC;1->android;2->ios;3->小程序 Province string `gorm:"column:province;not null;comment:登录省份" json:"province"` // 登录省份 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:登录时间" json:"create_time"` // 登录时间 }
UmsMemberLoginLog 会员登录记录
func (*UmsMemberLoginLog) TableName ¶
func (*UmsMemberLoginLog) TableName() string
TableName UmsMemberLoginLog's table name
type UmsMemberMemberTagRelation ¶
type UmsMemberMemberTagRelation struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id TagID int64 `gorm:"column:tag_id;not null;comment:标签id" json:"tag_id"` // 标签id }
UmsMemberMemberTagRelation 用户和标签关系表
func (*UmsMemberMemberTagRelation) TableName ¶
func (*UmsMemberMemberTagRelation) TableName() string
TableName UmsMemberMemberTagRelation's table name
type UmsMemberProductCategoryRelation ¶
type UmsMemberProductCategoryRelation struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id ProductCategoryID int64 `gorm:"column:product_category_id;not null;comment:商品分类id" json:"product_category_id"` // 商品分类id }
UmsMemberProductCategoryRelation 会员与产品分类关系表(用户喜欢的分类)
func (*UmsMemberProductCategoryRelation) TableName ¶
func (*UmsMemberProductCategoryRelation) TableName() string
TableName UmsMemberProductCategoryRelation's table name
type UmsMemberProductCollection ¶
type UmsMemberProductCollection struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id MemberNickName string `gorm:"column:member_nick_name;not null;comment:会员姓名" json:"member_nick_name"` // 会员姓名 MemberIcon string `gorm:"column:member_icon;not null;comment:会员头像" json:"member_icon"` // 会员头像 ProductID int64 `gorm:"column:product_id;not null;comment:商品id" json:"product_id"` // 商品id ProductName string `gorm:"column:product_name;not null;comment:商品名称" json:"product_name"` // 商品名称 ProductPic string `gorm:"column:product_pic;not null;comment:商品图片" json:"product_pic"` // 商品图片 ProductSubTitle string `gorm:"column:product_sub_title;not null;comment:商品标题" json:"product_sub_title"` // 商品标题 ProductPrice int64 `gorm:"column:product_price;not null;comment:商品价格" json:"product_price"` // 商品价格 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:收藏时间" json:"create_time"` // 收藏时间 }
UmsMemberProductCollection 用户收藏的商品
func (*UmsMemberProductCollection) TableName ¶
func (*UmsMemberProductCollection) TableName() string
TableName UmsMemberProductCollection's table name
type UmsMemberReadHistory ¶
type UmsMemberReadHistory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id MemberNickName string `gorm:"column:member_nick_name;not null;comment:会员姓名" json:"member_nick_name"` // 会员姓名 MemberIcon string `gorm:"column:member_icon;not null;comment:会员头像" json:"member_icon"` // 会员头像 ProductID int64 `gorm:"column:product_id;not null;comment:商品id" json:"product_id"` // 商品id ProductName string `gorm:"column:product_name;not null;comment:商品名称" json:"product_name"` // 商品名称 ProductPic string `gorm:"column:product_pic;not null;comment:商品图片" json:"product_pic"` // 商品图片 ProductSubTitle string `gorm:"column:product_sub_title;not null;comment:商品标题" json:"product_sub_title"` // 商品标题 ProductPrice int64 `gorm:"column:product_price;not null;comment:商品价格" json:"product_price"` // 商品价格 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:浏览时间" json:"create_time"` // 浏览时间 }
UmsMemberReadHistory 用户商品浏览历史记录
func (*UmsMemberReadHistory) TableName ¶
func (*UmsMemberReadHistory) TableName() string
TableName UmsMemberReadHistory's table name
type UmsMemberReceiveAddress ¶
type UmsMemberReceiveAddress struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null;comment:会员id" json:"member_id"` // 会员id MemberName string `gorm:"column:member_name;not null;comment:收货人名称" json:"member_name"` // 收货人名称 PhoneNumber string `gorm:"column:phone_number;not null;comment:收货人电话" json:"phone_number"` // 收货人电话 DefaultStatus int32 `gorm:"column:default_status;not null;comment:是否为默认" json:"default_status"` // 是否为默认 PostCode string `gorm:"column:post_code;not null;comment:邮政编码" json:"post_code"` // 邮政编码 Province string `gorm:"column:province;not null;comment:省份/直辖市" json:"province"` // 省份/直辖市 City string `gorm:"column:city;not null;comment:城市" json:"city"` // 城市 Region string `gorm:"column:region;not null;comment:区" json:"region"` // 区 DetailAddress string `gorm:"column:detail_address;not null;comment:详细地址(街道)" json:"detail_address"` // 详细地址(街道) CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"create_time"` // 创建时间 UpdateTime *time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间 }
UmsMemberReceiveAddress 会员收货地址表
func (*UmsMemberReceiveAddress) TableName ¶
func (*UmsMemberReceiveAddress) TableName() string
TableName UmsMemberReceiveAddress's table name
type UmsMemberRuleSetting ¶
type UmsMemberRuleSetting struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` ContinueSignDay int32 `gorm:"column:continue_sign_day;not null;comment:连续签到天数" json:"continue_sign_day"` // 连续签到天数 ContinueSignPoint int32 `gorm:"column:continue_sign_point;not null;comment:连续签到赠送数量" json:"continue_sign_point"` // 连续签到赠送数量 ConsumePerPoint int64 `gorm:"column:consume_per_point;not null;comment:每消费多少元获取1个点" json:"consume_per_point"` // 每消费多少元获取1个点 LowOrderAmount int64 `gorm:"column:low_order_amount;not null;comment:最低获取点数的订单金额" json:"low_order_amount"` // 最低获取点数的订单金额 MaxPointPerOrder int32 `gorm:"column:max_point_per_order;not null;comment:每笔订单最高获取点数" json:"max_point_per_order"` // 每笔订单最高获取点数 RuleType int32 `gorm:"column:rule_type;not null;comment:类型:0->积分规则;1->成长值规则" json:"rule_type"` // 类型:0->积分规则;1->成长值规则 Status int32 `gorm:"column:status;not null;default:1;comment:状态:0->禁用;1->启用" json:"status"` // 状态:0->禁用;1->启用 CreateBy string `gorm:"column:create_by;not null;comment:创建者" json:"create_by"` // 创建者 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"create_time"` // 创建时间 UpdateBy string `gorm:"column:update_by;not null;comment:更新者" json:"update_by"` // 更新者 UpdateTime *time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间 }
UmsMemberRuleSetting 会员积分成长规则表
func (*UmsMemberRuleSetting) TableName ¶
func (*UmsMemberRuleSetting) TableName() string
TableName UmsMemberRuleSetting's table name
type UmsMemberStatisticsInfo ¶
type UmsMemberStatisticsInfo struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` MemberID int64 `gorm:"column:member_id;not null" json:"member_id"` ConsumeAmount int64 `gorm:"column:consume_amount;not null;comment:累计消费金额" json:"consume_amount"` // 累计消费金额 OrderCount int32 `gorm:"column:order_count;not null;comment:订单数量" json:"order_count"` // 订单数量 CouponCount int32 `gorm:"column:coupon_count;not null;comment:优惠券数量" json:"coupon_count"` // 优惠券数量 CommentCount int32 `gorm:"column:comment_count;not null;comment:评价数" json:"comment_count"` // 评价数 ReturnOrderCount int32 `gorm:"column:return_order_count;not null;comment:退货数量" json:"return_order_count"` // 退货数量 LoginCount int32 `gorm:"column:login_count;not null;comment:登录次数" json:"login_count"` // 登录次数 AttendCount int32 `gorm:"column:attend_count;not null;comment:关注数量" json:"attend_count"` // 关注数量 FansCount int32 `gorm:"column:fans_count;not null;comment:粉丝数量" json:"fans_count"` // 粉丝数量 CollectProductCount int32 `gorm:"column:collect_product_count;not null;comment:收藏的商品数量" json:"collect_product_count"` // 收藏的商品数量 CollectSubjectCount int32 `gorm:"column:collect_subject_count;not null;comment:收藏的专题活动数量" json:"collect_subject_count"` // 收藏的专题活动数量 CollectTopicCount int32 `gorm:"column:collect_topic_count;not null;comment:收藏的评论数量" json:"collect_topic_count"` // 收藏的评论数量 CollectCommentCount int32 `gorm:"column:collect_comment_count;not null;comment:收藏的专题活动数量" json:"collect_comment_count"` // 收藏的专题活动数量 InviteFriendCount int32 `gorm:"column:invite_friend_count;not null;comment:邀请好友数" json:"invite_friend_count"` // 邀请好友数 RecentOrderTime time.Time `gorm:"column:recent_order_time;not null;comment:最后一次下订单时间" json:"recent_order_time"` // 最后一次下订单时间 }
UmsMemberStatisticsInfo 会员统计信息
func (*UmsMemberStatisticsInfo) TableName ¶
func (*UmsMemberStatisticsInfo) TableName() string
TableName UmsMemberStatisticsInfo's table name
type UmsMemberTag ¶
type UmsMemberTag struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` TagName string `gorm:"column:tag_name;not null;comment:标签名称" json:"tag_name"` // 标签名称 FinishOrderCount int32 `gorm:"column:finish_order_count;not null;comment:自动打标签完成订单数量" json:"finish_order_count"` // 自动打标签完成订单数量 Status int32 `gorm:"column:status;not null;default:1;comment:状态:0->禁用;1->启用" json:"status"` // 状态:0->禁用;1->启用 FinishOrderAmount int64 `gorm:"column:finish_order_amount;not null;comment:自动打标签完成订单金额" json:"finish_order_amount"` // 自动打标签完成订单金额 }
UmsMemberTag 用户标签表
func (*UmsMemberTag) TableName ¶
func (*UmsMemberTag) TableName() string
TableName UmsMemberTag's table name
type UmsMemberTask ¶
type UmsMemberTask struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` TaskName string `gorm:"column:task_name;not null;comment:任务名称" json:"task_name"` // 任务名称 TaskGrowth int32 `gorm:"column:task_growth;not null;comment:赠送成长值" json:"task_growth"` // 赠送成长值 TaskIntegral int32 `gorm:"column:task_integral;not null;comment:赠送积分" json:"task_integral"` // 赠送积分 TaskType int32 `gorm:"column:task_type;not null;comment:任务类型:0->新手任务;1->日常任务" json:"task_type"` // 任务类型:0->新手任务;1->日常任务 Status int32 `gorm:"column:status;not null;default:1;comment:状态:0->禁用;1->启用" json:"status"` // 状态:0->禁用;1->启用 CreateBy string `gorm:"column:create_by;not null;comment:创建者" json:"create_by"` // 创建者 CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"create_time"` // 创建时间 UpdateBy string `gorm:"column:update_by;not null;comment:更新者" json:"update_by"` // 更新者 UpdateTime *time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间 }
UmsMemberTask 会员任务表
func (*UmsMemberTask) TableName ¶
func (*UmsMemberTask) TableName() string
TableName UmsMemberTask's table name
Source Files
¶
- cms_subject_product_relation.gen.go
- ums_growth_change_history.gen.go
- ums_integration_change_history.gen.go
- ums_integration_consume_setting.gen.go
- ums_member.gen.go
- ums_member_brand_attention.gen.go
- ums_member_level.gen.go
- ums_member_login_log.gen.go
- ums_member_member_tag_relation.gen.go
- ums_member_product_category_relation.gen.go
- ums_member_product_collection.gen.go
- ums_member_read_history.gen.go
- ums_member_receive_address.gen.go
- ums_member_rule_setting.gen.go
- ums_member_statistics_info.gen.go
- ums_member_tag.gen.go
- ums_member_task.gen.go