From ab4e150d41e0200b64a75c59b668a9385b7782fd Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 23 四月 2024 10:18:03 +0800 Subject: [PATCH] 表名修改 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java | 108 ++++++++++++++++++++++++++++++----------------------- 1 files changed, 61 insertions(+), 47 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 index 98a8a31..3439154 100644 --- 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 @@ -1,108 +1,122 @@ package com.ycl.platform.domain.entity; import annotation.Excel; -import com.ycl.system.entity.BaseEntity; +import com.ycl.system.domain.TreeEntity; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; -import java.math.BigDecimal; - /** - * 鏍哥畻瑙勫垯瀵硅薄 t_calculate_rule - * + * 鍒嗘暟鏍哥畻瑙勫垯瀵硅薄 t_default_rule + * * @author ruoyi * @date 2024-04-01 */ -public class CalculateRule extends BaseEntity +public class CalculateRule extends TreeEntity { private static final long serialVersionUID = 1L; - /** $column.columnComment */ + /** 涓婚敭 */ private Long id; - /** $column.columnComment */ - @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private String name; + /** 瑙勫垯鍚嶇О */ + @Excel(name = "瑙勫垯鍚嶇О") + private String ruleName; - /** $column.columnComment */ - @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") - private Long templateId; + /** 鎵e噺鏂瑰紡 */ + @Excel(name = "鎵e噺鏂瑰紡") + private Long deductCategory; - /** $column.columnComment */ - private Long parentId; + /** 浜哄伐鎵撳垎/绯荤粺鎵撳垎 */ + private Long deductWay; - /** 鍗曚綅id */ - @Excel(name = "鍗曚綅id") - private Long unitId; + /** 瑙勫垯鎻忚堪 */ + @Excel(name = "瑙勫垯鎻忚堪") + private String ruleDesc; - /** 姣忓皯1%鎵e綋鏈堟�绘湇鍔¤垂鐨勫灏� */ - @Excel(name = "姣忓皯1%鎵e綋鏈堟�绘湇鍔¤垂鐨勫灏�") - private BigDecimal value; + /** 瑙勫垯鐘舵�� */ + @Excel(name = "瑙勫垯鐘舵��") + private String ruleStatus; - public void setId(Long id) + /** 閫昏緫鍒犻櫎 */ + private String deleted; + + public void setId(Long id) { this.id = id; } - public Long getId() + public Long getId() { return id; } - public void setName(String name) + public void setRuleName(String ruleName) { - this.name = name; + this.ruleName = ruleName; } - public String getName() + public String getRuleName() { - return name; + return ruleName; } - public void setTemplateId(Long templateId) + public void setDeductCategory(Long deductCategory) { - this.templateId = templateId; + this.deductCategory = deductCategory; } - public Long getTemplateId() + public Long getDeductCategory() { - return templateId; + return deductCategory; } - public void setParentId(Long parentId) + public void setDeductWay(Long deductWay) { - this.parentId = parentId; + this.deductWay = deductWay; } - public Long getParentId() + public Long getDeductWay() { - return parentId; + return deductWay; } - public void setUnitId(Long unitId) + public void setRuleDesc(String ruleDesc) { - this.unitId = unitId; + this.ruleDesc = ruleDesc; } - public Long getUnitId() + public String getRuleDesc() { - return unitId; + return ruleDesc; } - public void setValue(BigDecimal value) + public void setRuleStatus(String ruleStatus) { - this.value = value; + this.ruleStatus = ruleStatus; } - public BigDecimal getValue() + public String getRuleStatus() { - return value; + return ruleStatus; + } + public void setDeleted(String deleted) + { + this.deleted = deleted; + } + + public String getDeleted() + { + return deleted; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) - .append("name", getName()) - .append("templateId", getTemplateId()) + .append("ruleName", getRuleName()) .append("parentId", getParentId()) - .append("unitId", getUnitId()) - .append("value", getValue()) + .append("deductCategory", getDeductCategory()) + .append("deductWay", getDeductWay()) + .append("ruleDesc", getRuleDesc()) + .append("ruleStatus", getRuleStatus()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .append("deleted", getDeleted()) .toString(); } } -- Gitblit v1.8.0