面包店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
842 B

  1. package model
  2. import (
  3. "time"
  4. )
  5. type AcquisitionLog struct {
  6. Id int64 `json:"id" xorm:"pk autoincr comment('主键') BIGINT(10)"`
  7. ParentUid int `json:"parent_uid" xorm:"not null default 0 comment('上级会员ID') unique(idx_union_u_p_id) INT(20)"`
  8. Uid int `json:"uid" xorm:"not null default 0 comment('关联UserID') unique(idx_union_u_p_id) INT(20)"`
  9. Level int `json:"level" xorm:"not null default 1 comment('推广等级(1直属,大于1非直属)') INT(10)"`
  10. InviteTime time.Time `json:"invite_time" xorm:"not null default 'CURRENT_TIMESTAMP' comment('邀请时间') TIMESTAMP"`
  11. State int `json:"state" xorm:"not null default 0 comment('0为未完成,1为已完成') TINYINT(1)"`
  12. CompleteCon string `json:"complete_con" xorm:"not null default '' VARCHAR(16)"`
  13. }