附近小店
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_printer.go 1.3 KiB

1 kuukausi sitten
12345678910111213141516171819
  1. package model
  2. import (
  3. "time"
  4. )
  5. type CommunityTeamStorePrinter struct {
  6. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  7. StoreId int `json:"store_id" xorm:"not null comment('店铺id') INT(11)"`
  8. SnNum string `json:"sn_num" xorm:"not null comment('打印机SN编号') VARCHAR(255)"`
  9. IdentificationCode string `json:"identification_code" xorm:"not null comment('打印机识别码') VARCHAR(255)"`
  10. Name string `json:"name" xorm:"not null comment('打印机名字') VARCHAR(255)"`
  11. ModuleId int `json:"module_id" xorm:"comment('打印模版id') INT(11)"`
  12. IsUse int `json:"is_use" xorm:"not null comment('是否使用') TINYINT(1)"`
  13. CreateTime time.Time `json:"create_time" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
  14. UpdateTime time.Time `json:"update_time" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
  15. Type string `json:"type" xorm:"not null default 'ordinary' comment('打印机类型 ordinary普通打印机 cloud云打印机') VARCHAR(255)"`
  16. LocationType string `json:"location_type" xorm:"not null default '' comment('打印机位置') VARCHAR(255)"`
  17. }