contract.go 1.1 KB

123456789101112131415161718192021222324252627282930
  1. package contract
  2. import (
  3. "hongze/hongze_mobile_admin/models/tables/company_contract"
  4. "hongze/hongze_mobile_admin/models/tables/contract_approval"
  5. "rdluck_tools/paging"
  6. "time"
  7. )
  8. type CompanyContractDetailResp struct {
  9. *company_contract.CompanyContractDetail
  10. }
  11. type ContractOperationRecordListResp struct {
  12. Id int ``
  13. ContractId int `description:"合同id"`
  14. Operation string `description:"操作类型,add:新增,edit:编辑,apply:发起审批,cancel_apply:撤回审批,reject:拒绝审批,approval:审批操作;长度36位"`
  15. OpUserId int `description:"操作人id"`
  16. OpUserName string `description:"操作人名称"`
  17. Remark string `description:"备注,长度255位"`
  18. ApprovalRecordId int `orm:"column(approval_record_id)";description:"审批流id"`
  19. CreateTime time.Time `description:"日志添加时间"`
  20. CreateTimeStr string `description:"日志添加时间"`
  21. }
  22. //审批列表
  23. type ContractApprovalListResp struct {
  24. Paging *paging.PagingItem
  25. List []*contract_approval.ContractApprovalList `description:"列表数据"`
  26. }