From 7ce7861b02a6a4c4fe53d6292d3d216a65551371 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 23 四月 2024 10:47:47 +0800 Subject: [PATCH] 合同导入模板 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 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..c554b6c --- /dev/null +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java @@ -0,0 +1,79 @@ +package com.ycl.platform.domain.entity; + +import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; +import com.alibaba.excel.annotation.ExcelProperty; +import com.alibaba.excel.annotation.write.style.ContentStyle; +import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum; +import com.alibaba.excel.enums.poi.VerticalAlignmentEnum; +import com.baomidou.mybatisplus.annotation.TableLogic; +import com.ycl.system.domain.TreeEntity; +import lombok.Data; + +/** + * 鍒嗘暟鏍哥畻瑙勫垯瀵硅薄 t_default_rule + * + * @author ruoyi + * @date 2024-04-01 + */ +@Data +@ExcelIgnoreUnannotated +@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER) +public class CalculateRule extends TreeEntity { + private static final long serialVersionUID = 1L; + + /** + * 涓婚敭 + */ + @ExcelProperty("搴忓彿") + private Long id; + + /** + * 鍗曚綅id + */ + private Integer unitId; + + /** + * 瑙勫垯鍚嶇О + */ + @ExcelProperty("鑰冩牳鍐呭") + private String ruleName; + + /** + * 鍏宠仈涓婄骇id + */ + private Long parentId; + + /** + * 瑙勫垯鎻忚堪 + */ + @ExcelProperty("璇勫垽鏍囧噯") + private String ruleDesc; + + /** + * 瑙勫垯鏉′欢 + */ + @ExcelProperty("鑰冩牳瑕佹眰") + private String ruleCondition; + + /** + * 鎵e噺鏂瑰紡 1/2/3 鎵f寚瀹氬垎鏁�/鍒嗘暟涔樹互鏁伴噺/闄や互鏁伴噺鍚庝箻浠ュ垎鏁� + */ + @ExcelProperty("鎵e垎鏂瑰紡") + private String deductCategory; + + /** + * 鎵i櫎鍒嗘暟 + */ + @ExcelProperty("鎵e垎鏁板��") + private Double calcFraction; + + /** + * 褰撴柟寮忎负闄や互鏃讹紝闄や互褰撳墠瀛楁鏁伴噺 + */ + @ExcelProperty("闄や互鏁伴噺") + private Integer calcUnit; + + @TableLogic + private String deleted; + +} -- Gitblit v1.8.0