From ea3e40330575519d9a4c7dbe4f6d63e4a22ea861 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 02 四月 2024 09:41:52 +0800 Subject: [PATCH] Revert "Revert "新考核"" --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 108 insertions(+), 0 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java new file mode 100644 index 0000000..98a8a31 --- /dev/null +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java @@ -0,0 +1,108 @@ +package com.ycl.platform.domain.entity; + +import annotation.Excel; +import com.ycl.system.entity.BaseEntity; +import org.apache.commons.lang.builder.ToStringBuilder; +import org.apache.commons.lang.builder.ToStringStyle; + +import java.math.BigDecimal; + +/** + * 鏍哥畻瑙勫垯瀵硅薄 t_calculate_rule + * + * @author ruoyi + * @date 2024-04-01 + */ +public class CalculateRule extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private String name; + + /** $column.columnComment */ + @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") + private Long templateId; + + /** $column.columnComment */ + private Long parentId; + + /** 鍗曚綅id */ + @Excel(name = "鍗曚綅id") + private Long unitId; + + /** 姣忓皯1%鎵e綋鏈堟�绘湇鍔¤垂鐨勫灏� */ + @Excel(name = "姣忓皯1%鎵e綋鏈堟�绘湇鍔¤垂鐨勫灏�") + private BigDecimal value; + + 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 setParentId(Long parentId) + { + this.parentId = parentId; + } + + public Long getParentId() + { + return parentId; + } + 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; + } + + @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()) + .toString(); + } +} -- Gitblit v1.8.0