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