yinbentan
2024-07-25 a904aa32e66688ba76c9e4b71b6738b0ba5f5d4f
models/worker.go
@@ -18,7 +18,8 @@
      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"`
      WorkType       string                `gorm:"type:varchar(255);comment:工种" json:"workType"`
      WorkTypeCode   constvar.JobType      `gorm:"type:varchar(255);comment:工种代码" json:"workTypeCode"`
      WorkType       string                `gorm:"type:varchar(255);comment:工种名称" json:"workType"`
      GroupNumber    int                   `gorm:"type:int(11);comment:组别" json:"groupNumber"`
      EmploymentTime string                `gorm:"type:varchar(255);comment:入职时间" json:"employmentTime"`
      AddPeople      string                `gorm:"type:varchar(255);comment:添加人" json:"addPeople"`