SealApplyRecallRequest.go 932 B

1234567891011121314151617181920212223242526
  1. package seal_request
  2. import (
  3. "encoding/json"
  4. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  5. "git.sxidc.com/student-physical-examination/contract_lock_sdk/model/common"
  6. )
  7. type SealApplyRecallRequest struct {
  8. // <ext>core:true;format:string</ext> 【用印申请id】用印申请id 【作用】 需要撤回的物理用印申请
  9. BusinessId *int64 `json:"businessId"`
  10. UserInfo *common.UserInfoRequest `json:"userInfo"`
  11. // <ext>core:true</ext> 【撤回原因】撤回原因 【作用】 记录撤回的原因,在用印详情页面展示
  12. Reason string `json:"reason,omitempty"`
  13. }
  14. func (obj SealApplyRecallRequest) GetUrl() string {
  15. return "/seal/apply/recall"
  16. }
  17. func (obj SealApplyRecallRequest) GetHttpParameter() *http.HttpParameter {
  18. parameter := http.NewPostHttpParameter()
  19. jsonBytes, _ := json.Marshal(obj)
  20. parameter.SetJsonParamer(string(jsonBytes))
  21. return parameter
  22. }