feat():修改查询参数
parent
62eac62095
commit
2135d1645d
|
@ -3,9 +3,11 @@ package com.muyu.common.domain.resp;
|
|||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.muyu.common.core.validation.custom.IsSysRuleActivate;
|
||||
import com.muyu.common.domain.RuleData;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -49,21 +51,25 @@ public class RuleDataResp {
|
|||
*/
|
||||
@Schema(description = "规则作用域",defaultValue = "数据字段",type = "String")
|
||||
private String ruleRegion;
|
||||
/**
|
||||
* 引擎编码
|
||||
*/
|
||||
@Schema(description = "引擎编码",defaultValue = "notNull",type = "String")
|
||||
private String ruleCoding;
|
||||
/**
|
||||
* 激活状态
|
||||
*/
|
||||
@Schema(description = "激活状态",defaultValue = "S",type = "String")
|
||||
private String ruleActivate;
|
||||
/**
|
||||
* 规则状态
|
||||
*/
|
||||
@Schema(description = "规则状态",defaultValue = "Y",type = "String")
|
||||
private String ruleStatus;
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Schema(description = "创建人",defaultValue = "yuan",type = "String")
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "创建时间",defaultValue = "2024-08-22 08:50:39",type = "Date")
|
||||
@Schema(description = "创建时间",type = "Date")
|
||||
private Date createTime;
|
||||
|
||||
public static RuleDataResp ruleDataBuild(RuleData ruleData, Supplier<List<RuleDataResp>> function) {
|
||||
|
|
Loading…
Reference in New Issue