package com.kexue.skills.entity.dto;

import java.util.Date;

import java.io.Serializable;
import com.kexue.skills.entity.base.BaseQueryDto;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;


/**
 * (SysUser)实体类Dto
 *
 * @author 王志维
 * @since 2025-02-21 23:01:48
 */
@Data
@ApiModel
public class SysUserDto extends BaseQueryDto implements Serializable  {
 private static final long serialVersionUID = -60817463837641372L;

        @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;

        @Schema(description ="是否启用（1启用，2禁用）")
        private Integer enable;

        @Schema(description ="是否删除 ：0 未删除，1已删除")
        private Integer deleteFlag;

}
