SealcategoryDeleteRequest.go 1.3 KB

123456789101112131415161718192021222324252627
  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 SealcategoryDeleteRequest struct {
  8. // <ext>core:true</ext> 【印章类型名称】印章类型名称 【作用】 指定要删除的印章类型 【传参】 最大长度:50(包含)
  9. SealCategoryName string `json:"sealCategoryName"`
  10. // <ext>core:true;format:string</ext> 【集团id】集团id 【作用】 指定需要删除的印章类型所属的集团 【传参】 集团id、单位信息、组织信息都可用于指定印章类型的所属集团;均传入时只按最高优先级查询,优先级为集团id>法人单位信息>组织信息;都不传时,默认取平台方集团的印章类型。
  11. OrgId *int64 `json:"orgId,omitempty"`
  12. Company *common.CompanyRequest `json:"company,omitempty"`
  13. Department *common.DepartmentRequest `json:"department,omitempty"`
  14. }
  15. func (obj SealcategoryDeleteRequest) GetUrl() string {
  16. return "/sealcategory/delete"
  17. }
  18. func (obj SealcategoryDeleteRequest) GetHttpParameter() *http.HttpParameter {
  19. parameter := http.NewPostHttpParameter()
  20. jsonBytes, _ := json.Marshal(obj)
  21. parameter.SetJsonParamer(string(jsonBytes))
  22. return parameter
  23. }