// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // OpsEventTask is the golang structure for table ops_event_task. type OpsEventTask struct { Id int `orm:"id,primary" json:"id"` // 任务ID EventId int `orm:"event_id" json:"eventId"` // 关联事件ID(event表id) EventType string `orm:"event_type" json:"eventType"` // 关联事件类型(10 交付 20 运维) ProjectId int `orm:"project_id" json:"projectId"` // 交付项目ID TaskNo string `orm:"task_no" json:"taskNo"` // 任务编码 TaskTitle string `orm:"task_title" json:"taskTitle"` // 任务标题 TaskDesc string `orm:"task_desc" json:"taskDesc"` // 任务描述 TaskType string `orm:"task_type" json:"taskType"` // 任务类型(10需求评审 20功能开发 25缺陷修复 30功能测试 35 BUG 40系统发版) TaskStatus string `orm:"task_status" json:"taskStatus"` // 任务状态(10待处理 20处理中 25暂停 30已完成 70 阻塞 90作废) OpsUserId int `orm:"ops_user_id" json:"opsUserId"` // 执行人ID OpsUserName string `orm:"ops_user_name" json:"opsUserName"` // 执行人姓名 PlanStartTime *gtime.Time `orm:"plan_start_time" json:"planStartTime"` // 计划开始时间 PlanEndTime *gtime.Time `orm:"plan_end_time" json:"planEndTime"` // 计划结束时间 CompleteTime *gtime.Time `orm:"complete_time" json:"completeTime"` // 完成时间 EstimateWorkHour float64 `orm:"estimate_work_hour" json:"estimateWorkHour"` // 预估工作量(小时) ActualWorkHour float64 `orm:"actual_work_hour" json:"actualWorkHour"` // 实际工作量(小时) TaskParentId int `orm:"task_parent_id" json:"taskParentId"` // 父任务ID Priority string `orm:"priority" json:"priority"` // 优先级(10紧急 20高 30中 40低) FunctionName string `orm:"function_name" json:"functionName"` // 功能模块 DefectType string `orm:"defect_type" json:"defectType"` // 缺陷类型(10 前端 20 后端) 仅在任务类型为BUG 时使用 ReleaseVersion string `orm:"release_version" json:"releaseVersion"` // 发布版本 Remark string `orm:"remark" json:"remark"` // 备注 Attribute1 string `orm:"attribute1" json:"attribute1"` // Attribute2 string `orm:"attribute2" json:"attribute2"` // CreatedBy int `orm:"created_by" json:"createdBy"` // 创建人ID CreatedName string `orm:"created_name" json:"createdName"` // 创建人 CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间 UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新人ID UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人 UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间 DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间 }