package cn.iocoder.yudao.module.knowledge.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@TableName("USER_INFO")
@Data
@Schema(description = "用户类")
public class UserInfo extends BaseDO {

    @Schema(description = "主键")
    @TableId
    private Integer id;

    @Schema(
            description = "用户名称",
            example = "ysnnuan"
    )
    private String username;

    @Schema(
            description = "密码",
            example = "ysnnuan"
    )
    private String password;

    @Schema(
            description = "密码",
            example = "18"
    )
    private Integer age;

    @Schema(
            description = "密码",
            example = "13057910639"
    )
    private String mobile;

    @Schema(
            description = "性别",
            example = "1"
    )
    private Byte sex;

    @Schema(
            description = "生日",
            example = "2024-03-05"
    )
    private Date birthday;

}