package com.schisandra.auth.infra.basic.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *  实体类
 *
 * @author landaiqing
 * @since 2024-05-23 20:00:28
 */
@Data
@Table(value = "schisandra_auth_user")
public class SchisandraAuthUser implements Serializable {

    /**
     * 
     */
    @Id(value = "id", keyType = KeyType.Auto)
    private Long id;

    /**
     * 
     */

    @Column(value = "user_name")
    private String userName;

    /**
     * 
     */

    @Column("nick_name")
    private String nickName;

    /**
     * 
     */
    @Column("email")
    private String email;

    /**
     * 
     */
    @Column("phone")
    private String phone;

    /**
     * 
     */
    @Column(value = "password")
    private String password;

    /**
     * 
     */
    @Column("gender")
    private String gender;

    /**
     * 
     */
    @Column("avatar")
    private String avatar;

    /**
     * 
     */
    @Column("status")
    private Integer status;

    /**
     * 
     */
    @Column("introduce")
    private String introduce;

    /**
     * 
     */
    @Column("ext_json")
    private String extJson;

    /**
     * 创建人
     */
    @Column("created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @Column("created_time")
    private Date createdTime;

    /**
     * 更新人
     */
    @Column("update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @Column("update_time")
    private Date updateTime;

    /**
     * 
     */
    @Column(value = "is_deleted",isLogicDelete = true)
    private Integer isDeleted;

    /**
     * 
     */
    @Column("blog")
    private String blog;

    /**
     * 
     */
    @Column("location")
    private String location;

    /**
     * 
     */
    @Column("company")
    private String company;

}

