ops_event_task.go 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. TaskNo string `orm:"task_no" json:"taskNo"` // 任务编码
  15. TaskTitle string `orm:"task_title" json:"taskTitle"` // 任务标题
  16. TaskDesc string `orm:"task_desc" json:"taskDesc"` // 任务描述
  17. TaskType string `orm:"task_type" json:"taskType"` // 任务类型(10需求评审 20功能开发 25缺陷修复 30功能测试 35 BUG 40系统发版)
  18. TaskStatus string `orm:"task_status" json:"taskStatus"` // 任务状态(10待处理 20处理中 25暂停 30已完成 70 阻塞 90作废)
  19. OpsUserId int `orm:"ops_user_id" json:"opsUserId"` // 执行人ID
  20. OpsUserName string `orm:"ops_user_name" json:"opsUserName"` // 执行人姓名
  21. PlanStartTime *gtime.Time `orm:"plan_start_time" json:"planStartTime"` // 计划开始时间
  22. PlanEndTime *gtime.Time `orm:"plan_end_time" json:"planEndTime"` // 计划结束时间
  23. CompleteTime *gtime.Time `orm:"complete_time" json:"completeTime"` // 完成时间
  24. EstimateWorkHour float64 `orm:"estimate_work_hour" json:"estimateWorkHour"` // 预估工作量(小时)
  25. ActualWorkHour float64 `orm:"actual_work_hour" json:"actualWorkHour"` // 实际工作量(小时)
  26. TaskParentId int `orm:"task_parent_id" json:"taskParentId"` // 父任务ID
  27. Priority string `orm:"priority" json:"priority"` // 优先级(10紧急 20高 30中 40低)
  28. FunctionName string `orm:"function_name" json:"functionName"` // 功能模块
  29. DefectType string `orm:"defect_type" json:"defectType"` // 缺陷类型(10 前端 20 后端) 仅在任务类型为BUG 时使用
  30. ReleaseVersion string `orm:"release_version" json:"releaseVersion"` // 发布版本
  31. Remark string `orm:"remark" json:"remark"` // 备注
  32. Attribute1 string `orm:"attribute1" json:"attribute1"` //
  33. Attribute2 string `orm:"attribute2" json:"attribute2"` //
  34. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建人ID
  35. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  36. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  37. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新人ID
  38. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  39. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  40. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  41. }