| 123456789101112131415161718192021222324252627282930313233343536 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package model
- import (
- "dashoo.cn/micro/app/model/proj/internal"
- "github.com/gogf/gf/os/gtime"
- )
- // ProjBusinessTeam is the golang structure for table proj_business_team.
- type ProjBusinessTeam internal.ProjBusinessTeam
- // Fill with you ideas below.
- type BusinessTeam struct {
- Id int `json:"id"` //
- BusId int `json:"busId"` // 关联项目
- UserId int `json:"userId"` // 用户
- UserName string `json:"userName"` // 用户姓名
- DeptName string `json:"deptName"` // 部门名称
- Role string `json:"role"` // 团队角色
- Permission string `json:"permission"` // 权限
- DeadlineTime *gtime.Time `json:"deadlineTime"` // 截止时间
- Remark string `json:"remark"` // 备注
- }
- type BusinessTeamReq struct {
- BusId int `json:"busId" v:"required#关联项目不能为空"` // 关联项目
- UserIds []int `json:"userIds" v:"required#用户不能为空"` // 用户
- Role string `json:"role"` // 团队角色
- Permission string `json:"permission" v:"required#用户权限不能为空"` // 权限
- DeadlineTime *gtime.Time `json:"deadlineTime" v:"required#截止时间不能为空"` // 截止时间
- Remark string `json:"remark"` // 备注
- }
|