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:13:10
 */
@Data
@Table("schisandra_auth_social_user_mapper")
public class SchisandraAuthSocialUserMapper implements Serializable {

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

    /**
     * 系统用户ID
     */
    @Column("user_id")
    private Long userId;

    /**
     * 社会化用户ID
     */
    @Column("social_user_id")
    private Long socialUserId;

    /**
     * 创建人
     */
    @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;

}

