yinbentan
2024-07-31 b94bef381946e22fd1038f24e6d9de911d194640
models/worker.go
@@ -15,6 +15,7 @@
      Name           string                `gorm:"index;type:varchar(191);not null;comment:人员姓名" json:"name"`
      PhoneNum       string                `gorm:"type:varchar(191);comment:手机号" json:"phoneNum"`
      ShopID         string                `gorm:"type:varchar(191);comment:所属车间ID" json:"shopId"`
      ShopNumber     string                `gorm:"type:varchar(191);comment:所属车间编号" json:"shopNumber"`
      ShopName       string                `gorm:"type:varchar(191);comment:车间名称,仅查询用" json:"shopName"`
      Status         constvar.WorkerStatus `gorm:"index;type:int(11);comment:人员状态" json:"status"`
      WorkTypeId     uint                  `gorm:"type:int(11);comment:工种id" json:"workTypeId"`