| | |
| | | package com.ycl.platform.domain.entity; |
| | | |
| | | import annotation.Excel; |
| | | import com.ycl.system.domain.TreeEntity; |
| | | import org.apache.commons.lang.builder.ToStringBuilder; |
| | | import org.apache.commons.lang.builder.ToStringStyle; |
| | | |
| | | import java.math.BigDecimal; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.ycl.platform.base.AbsEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | /** |
| | | * 核算规则对象 t_calculate_rule |
| | | * 钱核算规则表 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-03 |
| | | * @author xp |
| | | * @since 2024-04-26 |
| | | */ |
| | | public class CalculateMoneyRule extends TreeEntity |
| | | { |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @TableName("t_calculate_money_rule") |
| | | @ApiModel(value = "CalculateMoneyRule对象", description = "钱核算规则表") |
| | | public class CalculateMoneyRule extends AbsEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private Long id; |
| | | @ApiModelProperty("合同ID") |
| | | @TableField("contract_id") |
| | | private Integer contractId; |
| | | |
| | | /** */ |
| | | @Excel(name = "") |
| | | private String name; |
| | | @ApiModelProperty("分数条件") |
| | | @TableField("score_condition") |
| | | private String scoreCondition; |
| | | |
| | | /** */ |
| | | @Excel(name = "") |
| | | private Long templateId; |
| | | |
| | | /** 单位id */ |
| | | @Excel(name = "单位id") |
| | | private Long unitId; |
| | | |
| | | /** 每少1%扣当月总服务费的多少 */ |
| | | @Excel(name = "每少1%扣当月总服务费的多少") |
| | | private BigDecimal value; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @ApiModelProperty("规则描述") |
| | | @TableField("description") |
| | | private String description; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setName(String name) |
| | | { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getName() |
| | | { |
| | | return name; |
| | | } |
| | | public void setTemplateId(Long templateId) |
| | | { |
| | | this.templateId = templateId; |
| | | } |
| | | |
| | | public Long getTemplateId() |
| | | { |
| | | return templateId; |
| | | } |
| | | public void setUnitId(Long unitId) |
| | | { |
| | | this.unitId = unitId; |
| | | } |
| | | |
| | | public Long getUnitId() |
| | | { |
| | | return unitId; |
| | | } |
| | | public void setValue(BigDecimal value) |
| | | { |
| | | this.value = value; |
| | | } |
| | | |
| | | public BigDecimal getValue() |
| | | { |
| | | return value; |
| | | } |
| | | public void setDescription(String description) |
| | | { |
| | | this.description = description; |
| | | } |
| | | |
| | | public String getDescription() |
| | | { |
| | | return description; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("name", getName()) |
| | | .append("templateId", getTemplateId()) |
| | | .append("parentId", getParentId()) |
| | | .append("unitId", getUnitId()) |
| | | .append("value", getValue()) |
| | | .append("description", getDescription()) |
| | | .toString(); |
| | | } |
| | | } |