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.
26 lines
729 B
26 lines
729 B
9 months ago
|
package model
|
||
|
|
||
|
import "pure-admin/global"
|
||
|
|
||
|
type MissionStop struct { //固定费用上传视频
|
||
|
global.MG_MODEL
|
||
|
Remark string `json:"remark"`
|
||
|
Status int `json:"status"` //状态 1:待审核 2:审核通过 3:审核不通过
|
||
|
MissionId uint `json:"mission_id"` //任务ID
|
||
|
CreateBy string `gorm:"size:64" json:"create_by"` //创建人
|
||
|
AuditBy string `size:"64" json:"audit_by"` //审核人
|
||
|
}
|
||
|
|
||
|
type MissionStopDetail struct {
|
||
|
MissionStop
|
||
|
Mission MissionDetail `json:"mission" gorm:"ForeignKey:ID;References:MissionId"` //任务信息
|
||
|
}
|
||
|
|
||
|
func (MissionStop) TableName() string {
|
||
|
return "mission_stop"
|
||
|
}
|
||
|
|
||
|
func (MissionStopDetail) TableName() string {
|
||
|
return "mission_stop"
|
||
|
}
|