SealApplyTerminatRequest.go 973 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 SealApplyTerminatRequest struct {
  8. // <ext>core:true;format:string</ext> 【用印申请id】用印申请id 【作用】 查询需作废的用印申请
  9. SealApplyId *int64 `json:"sealApplyId"`
  10. UserInfo *common.SealApplyTerminatUserInfoRequest `json:"userInfo,omitempty"`
  11. // <ext>core:true</ext> 【作废原因】作废原因 【作用】 记录作废的原因,在用印详情页面展示
  12. Reason string `json:"reason"`
  13. }
  14. func (obj SealApplyTerminatRequest) GetUrl() string {
  15. return "/seal/apply/terminat"
  16. }
  17. func (obj SealApplyTerminatRequest) GetHttpParameter() *http.HttpParameter {
  18. parameter := http.NewPostHttpParameter()
  19. jsonBytes, _ := json.Marshal(obj)
  20. parameter.SetJsonParamer(string(jsonBytes))
  21. return parameter
  22. }