ops_delivery_project_delegate.go 1.2 KB

123456789101112131415161718192021222324252627282930
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package opsdev
  5. import (
  6. "dashoo.cn/opms_parent/app/model/opsdev/internal"
  7. )
  8. // OpsDeliveryProjectDelegate is the golang structure for table ops_delivery_project_delegate.
  9. type OpsDeliveryProjectDelegate internal.OpsDeliveryProjectDelegate
  10. // OpsDeliveryProjectDelegateListReq 查询项目授权人列表请求
  11. type OpsDeliveryProjectDelegateListReq struct {
  12. ProjectId int `json:"projectId" v:"required#项目ID不能为空"`
  13. }
  14. // OpsDeliveryProjectDelegateAddReq 添加授权人请求
  15. type OpsDeliveryProjectDelegateAddReq struct {
  16. ProjectId int `json:"projectId" v:"required#项目ID不能为空"`
  17. ProjectName string `json:"projectName"`
  18. UserId int `json:"userId" v:"required#被授权人ID不能为空"`
  19. UserName string `json:"userName" v:"required#被授权人姓名不能为空"`
  20. }
  21. // OpsDeliveryProjectDelegateDeleteReq 删除授权人请求
  22. type OpsDeliveryProjectDelegateDeleteReq struct {
  23. Id int `json:"id" v:"required#ID不能为空"`
  24. }