附近小店
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.

community_team_store.go 1.4 KiB

3 kuukautta sitten
123456789101112131415161718192021222324
  1. package model
  2. import (
  3. "time"
  4. )
  5. type CommunityTeamStore struct {
  6. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  7. Uid int `json:"uid" xorm:"default 0 INT(11)"`
  8. StoreType int `json:"store_type" xorm:"default 0 comment('0官方自营店 1加盟店 2连锁店') INT(11)"`
  9. ParentUid int `json:"parent_uid" xorm:"default 0 comment('上级代理') INT(11)"`
  10. Lat string `json:"lat" xorm:"default 0.000000 comment('纬度') DECIMAL(30,6)"`
  11. Lng string `json:"lng" xorm:"default 0.000000 comment('经度') DECIMAL(30,6)"`
  12. Address string `json:"address" xorm:"comment('详细地址') VARCHAR(255)"`
  13. Commission string `json:"commission" xorm:"default 0.00 comment('分佣比例%') DECIMAL(20,2)"`
  14. CreateAt time.Time `json:"create_at" xorm:"DATETIME"`
  15. UpdateAt time.Time `json:"update_at" xorm:"DATETIME"`
  16. State int `json:"state" xorm:"default 0 comment('0非店长 1店长') INT(1)"`
  17. WorkState int `json:"work_state" xorm:"default 0 comment('0营业中 1休息中') INT(1)"`
  18. Name string `json:"name" xorm:"VARCHAR(255)"`
  19. Province string `json:"province" xorm:"comment('省级的名称') VARCHAR(255)"`
  20. City string `json:"city" xorm:"comment('市级的名称') VARCHAR(255)"`
  21. District string `json:"district" xorm:"comment('县,区名称') VARCHAR(255)"`
  22. }