You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.7 KiB
62 lines
1.7 KiB
// 定义包名,表明该类所属的模块和功能目录
|
|
package com.yf.exam.modules.sys.config.dto;
|
|
|
|
// 导入 Swagger 注解,用于生成 API 文档,标记类或属性的描述信息
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
// 导入 Lombok 的 Data 注解,自动生成 getter、setter、toString 等方法
|
|
import lombok.Data;
|
|
|
|
// 导入 Serializable 接口,表明该类的对象可以被序列化
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* <p>
|
|
* 通用配置请求类,用于在不同层之间传输系统通用配置信息
|
|
* </p>
|
|
*
|
|
* @author 聪明笨狗
|
|
* @since 2020-04-17 09:12
|
|
*/
|
|
// 自动生成 getter、setter、equals、hashCode 和 toString 方法
|
|
@Data
|
|
// 为 Swagger 文档提供类的描述信息
|
|
@ApiModel(value="通用配置", description="通用配置")
|
|
public class SysConfigDTO implements Serializable {
|
|
|
|
// 序列化版本号,用于在反序列化时验证版本一致性
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 系统配置的唯一标识
|
|
* 该属性在请求和响应中是必需的
|
|
*/
|
|
@ApiModelProperty(value = "ID", required=true)
|
|
private String id;
|
|
|
|
/**
|
|
* 系统的名称
|
|
*/
|
|
@ApiModelProperty(value = "系统名称")
|
|
private String siteName;
|
|
|
|
/**
|
|
* 前端页面显示的 LOGO 地址
|
|
*/
|
|
@ApiModelProperty(value = "前端LOGO")
|
|
private String frontLogo;
|
|
|
|
/**
|
|
* 后台管理页面显示的 LOGO 地址
|
|
*/
|
|
@ApiModelProperty(value = "后台LOGO")
|
|
private String backLogo;
|
|
|
|
/**
|
|
* 系统的版权信息
|
|
*/
|
|
@ApiModelProperty(value = "版权信息")
|
|
private String copyRight;
|
|
|
|
}
|