From 0c1f76c4a9c34a2adb05a94da4b20f3560374a29 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 19 四月 2024 15:52:27 +0800 Subject: [PATCH] 考核模板 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java | 70 +++++++++++++++++++---------------- 1 files changed, 38 insertions(+), 32 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java index 1ac07e1..f83afb4 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java @@ -1,48 +1,54 @@ package com.ycl.platform.domain.entity; -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 annotation.Excel; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ycl.system.entity.BaseEntity; import lombok.Data; -import lombok.experimental.Accessors; +import org.apache.commons.lang.builder.ToStringBuilder; +import org.apache.commons.lang.builder.ToStringStyle; + +import java.util.Date; /** - * 鑰冩牳瑙勫垯 - * - * @author xp - * @since 2024-03-06 + * 鑰冩牳瑙勫垯瀵硅薄 t_check_rule + * + * @author ruoyi + * @date 2024-04-15 */ @Data -@Accessors(chain = true) -@TableName("t_check_rule") -@ApiModel(value = "CheckRule瀵硅薄", description = "鑰冩牳瑙勫垯") -public class CheckRule extends AbsEntity { - +public class CheckRule extends BaseEntity +{ private static final long serialVersionUID = 1L; - @ApiModelProperty("瑙勫垯鍚嶇О") - @TableField("rule_name") + /** */ + private Long id; + /** 瑙勫垯鍚嶇О */ + @Excel(name = "瑙勫垯鍚嶇О") private String ruleName; - @ApiModelProperty("瑙勫垯鎻忚堪") - @TableField("rule_detail") - private String ruleDetail; + /** 瀵瑰簲index琛ㄥ瓧娈靛悕 */ + @Excel(name = "瀵瑰簲index琛ㄥ瓧娈靛悕") + private String ruleIndex; - @ApiModelProperty("澶╃綉瑙嗛鐐逛綅鏁�") - @TableField("video_point_num") - private Integer videoPointNum; + /** 0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇� */ + @Excel(name = "0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇�") + private Short ruleCategory; - @ApiModelProperty("杞﹁締鍗″彛鐐逛綅鏁�") - @TableField("vehicle_checkpoint_num") - private Integer vehicleCheckpointNum; + /** 鍙厤缃殑瑙勫垯鍙傛暟json */ + @Excel(name = "鍙厤缃殑瑙勫垯鍙傛暟json") + private String ruleCondition; - @ApiModelProperty("浜鸿劯鍗″彛鐐逛綅鏁�") - @TableField("face_chceckpoint_num") - private Integer faceChceckpointNum; + /** 瑙勫垯鎻忚堪 */ + @Excel(name = "瑙勫垯鎻忚堪") + private String ruleDescription; - @ApiModelProperty("杩愮淮绫诲埆") - @TableField("category") - private Integer category; + /** 0/1 鍚敤/鍋滅敤 */ + @Excel(name = "0/1 鍚敤/鍋滅敤") + private Short state; + + /** 閫昏緫鍒犻櫎 */ + @Excel(name = "閫昏緫鍒犻櫎") + private String deleted; + + } -- Gitblit v1.8.0