package io.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import java.util.Date;
/**
 * 用户
 */
@Data
@TableName("tb_user")
public class UserEntity {

    private Long id;
    private String role;
    private String username;
    private String password;
    private Date createDate;
    private String nickName;
    private String tag;
    private String avatar; // 头像URL
    @TableField(exist = false)
    private String confirmPassword;
}
