package datamodels import "time" type Task struct { OcId int64 `json:"ocId" xorm:"'oc_id' bigint comment('OC ID') " ` TaskId int64 `json:"taskId" xorm:"'task_id' bigint pk comment('主键ID') " ` TaskCode string `json:"taskCode" xorm:"'task_code' varchar(127) comment('TASK编码') " ` TaskTitle string `json:"taskTitle" xorm:"'task_title' varchar(127) comment('TASK类型名称') " ` TaskDesc string `json:"taskDesc" xorm:"'task_desc' varchar(127) comment('描述') " ` TaskCatId int64 `json:"taskCatId" xorm:"'task_cat_id' bigint comment('类别ID') " ` TaskTypeId int64 `json:"taskTypeId" xorm:"'task_type_id' bigint comment('类别ID') " ` ExpectedStartTime string `json:"expectedStartTime" xorm:"'expected_start_time' datetime comment('TASK类型名称') " ` ExpectedEndTime string `json:"expectedEndTime" xorm:"'expected_end_time' datetime comment('TASK类型名称') " ` ActualStartTime string `json:"actualStartTime" xorm:"'actual_start_time' datetime comment('实际开始时间') " ` ActualEndTime string `json:"actualEndTime" xorm:"'actual_end_time' datetime comment('实际结束时间') " ` TaskPriority int64 `json:"taskPriority" xorm:"'task_priority' bigint comment('优先级') " ` TaskUrgency int64 `json:"taskUrgency" xorm:"'task_urgency' bigint comment('紧急程序') " ` Status int64 `json:"status" xorm:"'status' bigint comment('状态') " ` TaskLevel int64 `json:"taskLevel" xorm:"'task_level' bigint comment('任务级别') " ` ParentId int64 `json:"parentId" xorm:"'parent_id' bigint comment('父任务') " ` TaskOrigin int64 `json:"taskOrigin" xorm:"'task_origin' bigint comment('任务来源') " ` CreatedBy int64 `json:"createdBy" xorm:"'created_by' " ` CreatedAt time.Time `json:"createdAt" xorm:"'created_at' " ` UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by' " ` UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at' " ` DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'" ` DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by' " ` DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at' " ` }