plat_task_comment.go 1.1 KB

123456789101112131415161718192021222324252627282930
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package plat
  5. import (
  6. "dashoo.cn/micro/app/model/plat/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // PlatTaskComment is the golang structure for table plat_task_comment.
  10. type PlatTaskComment internal.PlatTaskComment
  11. // Fill with you ideas below.
  12. // 查询
  13. type SearchPlatTaskCommentReq struct {
  14. TaskId string `json:"taskId"`
  15. Pid string `json:"pid"`
  16. request.PageReq
  17. }
  18. // 添加数据
  19. type AddPlatTaskCommentReq struct {
  20. TaskId int `orm:"task_id" json:"taskId" v:"required|min:1#关联任务不能为空|关联任务不能为空"` // 关联任务
  21. Content string `orm:"content" json:"content"` // 评论内容
  22. Pid int `orm:"pid" json:"pid"` // 回复对象ID
  23. Remark string `orm:"remark" json:"remark"` // 备注
  24. }