feat: 增加系统配置
增加系统配置功能
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
package com.youlai.system.model.form;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 系统配置 表单实体
|
||||
*
|
||||
@@ -12,6 +16,26 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "系统配置Form实体")
|
||||
public class ConfigForm {
|
||||
public class ConfigForm implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "主键")
|
||||
private Long id;
|
||||
|
||||
@NotBlank(message = "配置名称不能为空")
|
||||
@Schema(description = "配置名称")
|
||||
private String sysName;
|
||||
|
||||
@NotBlank(message = "配置key不能为空")
|
||||
@Schema(description = "配置key")
|
||||
private String sysKey;
|
||||
|
||||
@NotBlank(message = "配置值不能为空")
|
||||
@Schema(description = "配置值")
|
||||
private String sysValue;
|
||||
|
||||
@Schema(description = "描述、备注")
|
||||
private String remark;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user