From 23003e5ece97193921dacc7a7dc98926449b64d6 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 09 四月 2024 11:55:46 +0800 Subject: [PATCH] 新增工单 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 110 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..9a4b697 --- /dev/null +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java @@ -0,0 +1,110 @@ +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; + +/** + * 鏍哥畻瑙勫垯瀵硅薄 t_calculate_rule + * + * @author ruoyi + * @date 2024-04-03 + */ +public class CalculateRule extends TreeEntity +{ + private static final long serialVersionUID = 1L; + + /** */ + private Long id; + + /** */ + @Excel(name = "") + private String name; + + /** */ + @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()") + 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