InsAreaCompanyExternalFee.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.ydtech.modules.order.entity;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import io.swagger.annotations.ApiModel;
  6. import lombok.AllArgsConstructor;
  7. import lombok.Data;
  8. import lombok.NoArgsConstructor;
  9. import java.io.Serializable;
  10. import java.math.BigDecimal;
  11. /**
  12. * 报价渠道
  13. *
  14. * @TableName ins_area_company
  15. */
  16. @TableName(value = "ins_area_company_external_fee", autoResultMap = true)
  17. @Data
  18. @ApiModel(value = "外部订单费用表")
  19. @NoArgsConstructor
  20. @AllArgsConstructor
  21. public class InsAreaCompanyExternalFee implements Serializable {
  22. @TableField(exist = false)
  23. private static final long serialVersionUID = -6827009009645748787L;
  24. /**
  25. * 主键
  26. */
  27. @TableId(value = "sub_order_no")
  28. private String subOrderNo;
  29. @TableField(value = "jq_supervise_costs_proportion")
  30. private BigDecimal jqSuperviseCostsProportion;
  31. @TableField(value = "jq_other_costs_proportion")
  32. private BigDecimal jqOtherCostsProportion;
  33. @TableField(value = "sy_supervise_costs_proportion")
  34. private BigDecimal sySuperviseCostsProportion;
  35. @TableField(value = "sy_other_costs_proportion")
  36. private BigDecimal syOtherCostsProportion;
  37. @TableField(value = "no_supervise_costs_proportion")
  38. private BigDecimal noSuperviseCostsProportion;
  39. @TableField(value = "no_other_costs_proportion")
  40. private BigDecimal noOtherCostsProportion;
  41. public BigDecimal getJqSuperviseCostsProportion() {
  42. return jqSuperviseCostsProportion == null ? BigDecimal.ZERO : jqSuperviseCostsProportion;
  43. }
  44. public BigDecimal getJqOtherCostsProportion() {
  45. return jqOtherCostsProportion == null ? BigDecimal.ZERO : jqOtherCostsProportion;
  46. }
  47. public BigDecimal getSySuperviseCostsProportion() {
  48. return sySuperviseCostsProportion == null ? BigDecimal.ZERO : sySuperviseCostsProportion;
  49. }
  50. public BigDecimal getSyOtherCostsProportion() {
  51. return syOtherCostsProportion == null ? BigDecimal.ZERO : syOtherCostsProportion;
  52. }
  53. public BigDecimal getNoSuperviseCostsProportion() {
  54. return noSuperviseCostsProportion == null ? BigDecimal.ZERO : noSuperviseCostsProportion;
  55. }
  56. public BigDecimal getNoOtherCostsProportion() {
  57. return noOtherCostsProportion == null ? BigDecimal.ZERO : noOtherCostsProportion;
  58. }
  59. }