- 添加了获取CmsContent内容的接口和实现方法 - 新增QueryContentDto用于内容查询参数传递 - 修改SkillGenController中上传技能接口参数类型 - 在SkillGenRequest中添加技能说明字段 - 优化SkillGenServiceImpl中的API调用异常处理 - 添加对技能上传后图标设置的逻辑处理 - 在SysUser实体和数据库映射中添加会话ID字段 - 实现用户会话创建和管理功能 - 更新数据库查询语句以包含新增的session_id字段 - 添加了canvas-design技能包示例文件
70 lines
1.9 KiB
Java
70 lines
1.9 KiB
Java
package com.kexue.skills.entity;
|
||
|
||
import java.util.Date;
|
||
|
||
import java.io.Serializable;
|
||
import com.kexue.skills.entity.base.BaseEntity;
|
||
import com.kexue.skills.entity.base.BaseQueryDto;
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
import io.swagger.v3.oas.annotations.media.Schema;
|
||
import lombok.Data;
|
||
|
||
/**
|
||
* (SysUser)实体类
|
||
*
|
||
* @author 王志维
|
||
* @since 2025-02-21 23:01:48
|
||
*/
|
||
@Data
|
||
public class SysUser extends BaseEntity implements Serializable {
|
||
private static final long serialVersionUID = -40877019678009880L;
|
||
|
||
@Schema(description ="主键ID")
|
||
private Long userId;
|
||
|
||
@Schema(description ="用户登录名称")
|
||
private String userName;
|
||
|
||
@Schema(description ="密码(非明文)")
|
||
private String pwd;
|
||
|
||
@Schema(description ="真实姓名")
|
||
private String realName;
|
||
|
||
@Schema(description ="手机")
|
||
private String tel;
|
||
|
||
@Schema(description ="邮箱")
|
||
private String email;
|
||
|
||
@Schema(description ="加点盐(登录时候要用到的随机数)")
|
||
private String salt;
|
||
|
||
@Schema(description ="备注")
|
||
private String remark;
|
||
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||
@Schema(description ="创建时间")
|
||
private Date createTime;
|
||
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||
@Schema(description ="更新时间")
|
||
private Date updateTime;
|
||
|
||
@Schema(description ="是否启用(1启用,2禁用)")
|
||
private Integer enable;
|
||
|
||
@Schema(description ="是否删除 :0 未删除,1已删除")
|
||
private Integer deleteFlag;
|
||
|
||
@Schema(description ="创建人")
|
||
private String createBy;
|
||
|
||
@Schema(description ="更新人")
|
||
private String updateBy;
|
||
|
||
@Schema(description ="会话ID")
|
||
private String sessionId;
|
||
|
||
}
|