PtlTaxSourceNewSaveVo.java 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. package com.ydtech.modules.protocol.entity.vo;
  2. import com.ydtech.modules.protocol.entity.po.PtlTaxSourceNew;
  3. import com.ydtech.modules.protocols.entity.po.PtlAgreementDispatchRulesAttr;
  4. import io.swagger.annotations.ApiModel;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import lombok.Data;
  7. import java.util.List;
  8. /**
  9. * @version
  10. * @author: hxl
  11. * @Date: 2024/5/22 14:30
  12. * @Description: 协议调度查询对象
  13. */
  14. @Data
  15. @ApiModel("协议调度对象")
  16. public class PtlTaxSourceNewSaveVo {
  17. /**
  18. * 主键/自增
  19. */
  20. @ApiModelProperty("id")
  21. private Long id;
  22. /**
  23. * 保险公司id
  24. */
  25. @ApiModelProperty("保险公司id")
  26. private String insCompanyId;
  27. /**
  28. * 保险公司名称
  29. */
  30. @ApiModelProperty(value = "保险公司名称")
  31. private String insCompanyName;
  32. /**
  33. * 协议Id
  34. */
  35. @ApiModelProperty("协议id")
  36. private String agreementId;
  37. /**
  38. * 优先级
  39. */
  40. @ApiModelProperty("优先级")
  41. private Integer priority;
  42. /**
  43. * 是否默认
  44. */
  45. @ApiModelProperty("是否默认")
  46. private String defaultFlag;
  47. /**
  48. * 描述
  49. */
  50. @ApiModelProperty("描述")
  51. private String dispatchContent;
  52. /**
  53. * 调度规则
  54. */
  55. @ApiModelProperty("调度规则列表")
  56. private List<PtlAgreementDispatchRulesAttr> attrLinks;
  57. public PtlTaxSourceNewSaveVo() {
  58. }
  59. public PtlTaxSourceNewSaveVo(PtlTaxSourceNew ptlTaxSourceNew) {
  60. this.id=ptlTaxSourceNew.getId();
  61. this.insCompanyId=ptlTaxSourceNew.getInsCompanyId();
  62. this.insCompanyName=ptlTaxSourceNew.getInsCompanyName();
  63. this.agreementId=ptlTaxSourceNew.getAgreementId();
  64. this.priority=ptlTaxSourceNew.getPriority();
  65. this.defaultFlag=ptlTaxSourceNew.getDefaultFlag();
  66. this.dispatchContent=ptlTaxSourceNew.getDispatchContent();
  67. }
  68. }