面包店
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.

7 maanden geleden
12345678910111213
  1. package model
  2. type Staff struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. Name string `json:"name" xorm:"not null default '' comment('姓名') VARCHAR(255)"`
  5. Sex int `json:"sex" xorm:"not null default 1 comment('性别(1:男 2:女)') TINYINT(1)"`
  6. IdNo string `json:"id_no" xorm:"not null default '' comment('身份证号码') VARCHAR(255)"`
  7. Phone string `json:"phone" xorm:"not null default '' comment('联系电话') CHAR(50)"`
  8. NativePlace string `json:"native_place" xorm:"not null default '' comment('籍贯') CHAR(50)"`
  9. Department string `json:"department" xorm:"not null default '' comment('部门') CHAR(50)"`
  10. CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
  11. UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
  12. }