package com.seer.teach.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Captain
 * @since 2025-05-14
 */
@Getter
@Setter
@TableName("teacher_admin_user")
public class AdminUserEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "账号")
    @TableField("username")
    private String username;

    @Schema(description = "密码")
    @TableField("`password`")
    private String password;

    @Schema(description = "用户角色")
    @TableField("`role_id`")
    private Integer roleId;

    @Schema(description = "是否启用")
    @TableField("status")
    private Integer status;


}
