From b7dcd397a426496cb9f961f2cb69152815cc169f Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 26 四月 2024 13:44:47 +0800 Subject: [PATCH] 核算报告功能实现 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateMoneyRule.java | 120 ++++++++++++------------------------------------------------ 1 files changed, 24 insertions(+), 96 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateMoneyRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateMoneyRule.java index 9fba8f0..75073e6 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateMoneyRule.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateMoneyRule.java @@ -1,110 +1,38 @@ 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%鎵e綋鏈堟�绘湇鍔¤垂鐨勫灏� */ - @Excel(name = "姣忓皯1%鎵e綋鏈堟�绘湇鍔¤垂鐨勫灏�") - 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(); - } } -- Gitblit v1.8.0