ops_event_task.go 3.7 KB

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