Quellcode durchsuchen

值班详情实体

liuyang vor 5 Jahren
Ursprung
Commit
a4a89ed89f

+ 18 - 18
backend/src/dashoo.cn/modi_webapi/app/model/duty/detail/detail_entity.go

@@ -12,24 +12,24 @@ import (
 
 // Entity is the golang structure for table instrument.
 type Entity struct {
-	Id          int         `orm:"Id,primary"  json:"id"`           // 主键
-	DutyId      int         `orm:"DutyId"      json:"duty_id"`      // 值班ID
-	Local       string      `orm:"Local"       json:"local"`        // 地点
-	Time        int         `orm:"Time"        json:"time"`         // 时间段
-	Status      string      `orm:"Status"      json:"status"`       // 状态
-	People      string      `orm:"People"      json:"people"`       // 值班人员
-	Monday      int         `orm:"Monday"      json:"monday"`       // 周一
-	Tuesday     int         `orm:"Tuesday"     json:"tuesday"`      // 周二
-	Wednesday   int         `orm:"Wednesday"   json:"wednesday"`    // 周三
-	Thursday    int         `orm:"Thursday"    json:"thursday"`     // 周四
-	Friday      int         `orm:"Friday"      json:"friday"`       // 周五
-	Saturday    int         `orm:"Saturday"    json:"saturday"`     // 周六
-	Sunday      int         `orm:"Sunday"      json:"sunday"`       // 周天
-	CreatedBy   string      `orm:"CreatedBy"   json:"created_by"`   // 创建人
-	CreatedTime *gtime.Time `orm:"CreatedTime" json:"created_time"` // 创建时间
-	UpdatedBy   string      `orm:"UpdatedBy"   json:"updated_by"`   // 更新人
-	UpdatedTime *gtime.Time `orm:"UpdatedTime" json:"updated_time"` // 更新时间
-	IsDel       int         `orm:"IsDel"       json:"is_del"`       // 删除标志
+	Id          int         `orm:"Id,primary"  json:"Id"`          // 主键
+	DutyId      int         `orm:"DutyId"      json:"DutyId"`      // 值班ID
+	Local       string      `orm:"Local"       json:"Local"`       // 地点
+	Time        int         `orm:"Time"        json:"Time"`        // 时间段
+	Status      string      `orm:"Status"      json:"Status"`      // 状态
+	People      string      `orm:"People"      json:"People"`      // 值班人员
+	Monday      int         `orm:"Monday"      json:"Monday"`      // 周一
+	Tuesday     int         `orm:"Tuesday"     json:"Tuesday"`     // 周二
+	Wednesday   int         `orm:"Wednesday"   json:"Wednesday"`   // 周三
+	Thursday    int         `orm:"Thursday"    json:"Thursday"`    // 周四
+	Friday      int         `orm:"Friday"      json:"Friday"`      // 周五
+	Saturday    int         `orm:"Saturday"    json:"Saturday"`    // 周六
+	Sunday      int         `orm:"Sunday"      json:"Sunday"`      // 周天
+	CreatedBy   string      `orm:"CreatedBy"   json:"CreatedBy"`   // 创建人
+	CreatedTime *gtime.Time `orm:"CreatedTime" json:"CreatedTime"` // 创建时间
+	UpdatedBy   string      `orm:"UpdatedBy"   json:"UpdatedBy"`   // 更新人
+	UpdatedTime *gtime.Time `orm:"UpdatedTime" json:"UpdatedTime"` // 更新时间
+	IsDel       int         `orm:"IsDel"       json:"IsDel"`       // 删除标志
 }
 type ListEntity struct {
 	DataList []Entity `json:"DataList"`