|
@@ -1,8 +1,10 @@
|
|
|
package com.sckw.system.model.vo.res;
|
|
package com.sckw.system.model.vo.res;
|
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.sckw.core.utils.LongToStringUtils;
|
|
import com.sckw.core.utils.LongToStringUtils;
|
|
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Builder;
|
|
import lombok.Builder;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
@@ -21,6 +23,7 @@ import java.util.Date;
|
|
|
@Builder
|
|
@Builder
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
|
|
+@Schema(description = "系统内容配置返回对象")
|
|
|
public class SysArticlesResVo implements Serializable {
|
|
public class SysArticlesResVo implements Serializable {
|
|
|
|
|
|
|
|
@Serial
|
|
@Serial
|
|
@@ -29,37 +32,38 @@ public class SysArticlesResVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 雪花ID
|
|
* 雪花ID
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "雪花ID", example = "1234567890123456789")
|
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 条款唯一标识 (如: REG_AGREEMENT, PRIVACY_POLICY)
|
|
* 条款唯一标识 (如: REG_AGREEMENT, PRIVACY_POLICY)
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "条款唯一标识,例如: REG_AGREEMENT、PRIVACY_POLICY", example = "REG_AGREEMENT")
|
|
|
private String articleKey;
|
|
private String articleKey;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 条款标题
|
|
* 条款标题
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "条款标题", example = "用户注册协议")
|
|
|
private String title;
|
|
private String title;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 条款详细内容 (富文本/HTML)
|
|
* 条款详细内容 (富文本/HTML)
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "条款详细内容,富文本或HTML格式")
|
|
|
private String content;
|
|
private String content;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 版本号
|
|
* 版本号
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "版本号", example = "v1.0")
|
|
|
private String version;
|
|
private String version;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 更新时间
|
|
* 更新时间
|
|
|
*/
|
|
*/
|
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
+ @Schema(description = "更新时间,格式:yyyy-MM-dd HH:mm:ss", example = "2026-01-07 12:34:56")
|
|
|
private Date updatedAt;
|
|
private Date updatedAt;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|