package com.ydtech.modules.order.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.math.BigDecimal; /** * 报价渠道 * * @TableName ins_area_company */ @TableName(value = "ins_area_company_external_fee", autoResultMap = true) @Data @ApiModel(value = "外部订单费用表") @NoArgsConstructor @AllArgsConstructor public class InsAreaCompanyExternalFee implements Serializable { @TableField(exist = false) private static final long serialVersionUID = -6827009009645748787L; /** * 主键 */ @TableId(value = "sub_order_no") private String subOrderNo; @TableField(value = "jq_supervise_costs_proportion") private BigDecimal jqSuperviseCostsProportion; @TableField(value = "jq_other_costs_proportion") private BigDecimal jqOtherCostsProportion; @TableField(value = "sy_supervise_costs_proportion") private BigDecimal sySuperviseCostsProportion; @TableField(value = "sy_other_costs_proportion") private BigDecimal syOtherCostsProportion; @TableField(value = "no_supervise_costs_proportion") private BigDecimal noSuperviseCostsProportion; @TableField(value = "no_other_costs_proportion") private BigDecimal noOtherCostsProportion; @TableField(value = "cost_id") private String costId; @TableField(value = "cost_flag") private String costFlag; public BigDecimal getJqSuperviseCostsProportion() { return jqSuperviseCostsProportion == null ? BigDecimal.ZERO : jqSuperviseCostsProportion; } public BigDecimal getJqOtherCostsProportion() { return jqOtherCostsProportion == null ? BigDecimal.ZERO : jqOtherCostsProportion; } public BigDecimal getSySuperviseCostsProportion() { return sySuperviseCostsProportion == null ? BigDecimal.ZERO : sySuperviseCostsProportion; } public BigDecimal getSyOtherCostsProportion() { return syOtherCostsProportion == null ? BigDecimal.ZERO : syOtherCostsProportion; } public BigDecimal getNoSuperviseCostsProportion() { return noSuperviseCostsProportion == null ? BigDecimal.ZERO : noSuperviseCostsProportion; } public BigDecimal getNoOtherCostsProportion() { return noOtherCostsProportion == null ? BigDecimal.ZERO : noOtherCostsProportion; } }