PtlTaxSourceNew.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package com.ydtech.modules.protocol.entity.po;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.ydtech.modules.protocol.entity.vo.PtlTaxSourceNewAddVo;
  7. import lombok.Data;
  8. import java.io.Serializable;
  9. import java.util.Date;
  10. /**
  11. * @version
  12. * @author: hxl
  13. * @Date: 2024/5/22 12:07
  14. * @Description: 协议调度管理
  15. */
  16. @Data
  17. @TableName(value = "ptl_tax_source_new")
  18. public class PtlTaxSourceNew implements Serializable {
  19. /**
  20. * 主键/自增
  21. */
  22. @TableId(value = "id", type = IdType.AUTO)
  23. private Long id;
  24. /**
  25. * 保险公司id
  26. */
  27. @TableField(value = "ins_company_id")
  28. private String insCompanyId;
  29. /**
  30. * 保险公司名称
  31. */
  32. @TableField(value = "ins_company_name")
  33. private String insCompanyName;
  34. /**
  35. * 协议Id
  36. */
  37. @TableField(value = "agreement_id")
  38. private String agreementId;
  39. /**
  40. * 调度内容
  41. */
  42. @TableField(value = "dispatch_content")
  43. private String dispatchContent;
  44. /**
  45. * 优先级
  46. */
  47. @TableField(value = "priority")
  48. private Integer priority;
  49. /**
  50. * 是否默认
  51. */
  52. @TableField(value = "default_flag")
  53. private String defaultFlag;
  54. /**
  55. * 创建时间
  56. */
  57. @TableField(value = "create_time")
  58. private Date createTime;
  59. /**
  60. * 创建人
  61. */
  62. @TableField(value = "create_user")
  63. private String createUser;
  64. /**
  65. * 修改时间
  66. */
  67. @TableField(value = "update_time")
  68. private Date updateTime;
  69. /**
  70. * 修改人
  71. */
  72. @TableField(value = "update_user")
  73. private String updateUser;
  74. public PtlTaxSourceNew() {
  75. }
  76. public PtlTaxSourceNew getNewEntity(PtlTaxSourceNewAddVo ptlTaxSourceNewAddVo,PtlTaxSourceNew ptlTaxSourceNew) {
  77. ptlTaxSourceNew.setInsCompanyId(ptlTaxSourceNewAddVo.getInsCompanyId());
  78. ptlTaxSourceNew.setInsCompanyName(ptlTaxSourceNewAddVo.getInsCompanyName());
  79. ptlTaxSourceNew.setAgreementId(ptlTaxSourceNewAddVo.getAgreementId());
  80. ptlTaxSourceNew.setPriority(ptlTaxSourceNewAddVo.getPriority());
  81. ptlTaxSourceNew.setDefaultFlag(ptlTaxSourceNewAddVo.getDefaultFlag());
  82. return ptlTaxSourceNew;
  83. }
  84. }