proj_business_team.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "dashoo.cn/micro/app/model/proj/internal"
  7. "github.com/gogf/gf/os/gtime"
  8. )
  9. // ProjBusinessTeam is the golang structure for table proj_business_team.
  10. type ProjBusinessTeam internal.ProjBusinessTeam
  11. // Fill with you ideas below.
  12. type BusinessTeam struct {
  13. Id int `json:"id"` //
  14. BusId int `json:"busId"` // 关联项目
  15. UserId int `json:"userId"` // 用户
  16. UserName string `json:"userName"` // 用户姓名
  17. DeptName string `json:"deptName"` // 部门名称
  18. Role string `json:"role"` // 团队角色
  19. Permission string `json:"permission"` // 权限
  20. DeadlineTime *gtime.Time `json:"deadlineTime"` // 截止时间
  21. Remark string `json:"remark"` // 备注
  22. }
  23. type BusinessTeamReq struct {
  24. BusId int `json:"busId" v:"required#关联项目不能为空"` // 关联项目
  25. UserIds []int `json:"userIds" v:"required#用户不能为空"` // 用户
  26. Role string `json:"role"` // 团队角色
  27. Permission string `json:"permission" v:"required#用户权限不能为空"` // 权限
  28. DeadlineTime *gtime.Time `json:"deadlineTime" v:"required#截止时间不能为空"` // 截止时间
  29. Remark string `json:"remark"` // 备注
  30. }