Files
ArmedPolice/app/common/model/work_repair.go

19 lines
357 B
Go
Raw Normal View History

2021-11-10 16:52:25 +08:00
package model
// WorkRepair 工单维修数据模型
type WorkRepair struct {
Model
WorkID uint64 `gorm:"column:work_id;type:int(11);default:0;comment:工单ID" json:"-"`
Status int `json:"status"`
ModelDeleted
ModelAt
}
func (m *WorkRepair) TableName() string {
return "work_repair"
}
func NewWorkRepair() *WorkRepair {
return &WorkRepair{}
}