ctr_contract_append.go 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package contract
  5. import (
  6. "dashoo.cn/micro/app/model/contract/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // CtrContractAppend is the golang structure for table ctr_contract_append.
  10. type CtrContractAppend internal.CtrContractAppend
  11. // Fill with you ideas below.
  12. type CtrContractAppendListReq struct {
  13. request.PageReq
  14. ContractId int `json:"contractId"` // 关联合同
  15. FileName string `json:"fileName"` // 文件名称
  16. }
  17. type CtrContractAppendAddReq struct {
  18. ContractId int `json:"contractId"` // 关联合同
  19. FileName string `json:"fileName"` // 文件名称
  20. FileType string `json:"fileType"` // 文件类型
  21. FileUrl string `json:"fileUrl"` // 文件地址
  22. Remark string `json:"remark"` // 备注
  23. }
  24. type CtrContractAppendUpdateReq struct {
  25. Id int `json:"id" v:"required#请输入Id"`
  26. ContractId int `json:"contractId"` // 关联合同
  27. FileName string `json:"fileName"` // 文件名称
  28. FileType string `json:"fileType"` // 文件类型
  29. FileUrl string `json:"fileUrl"` // 文件地址
  30. Remark *string `json:"remark"`
  31. }