package com.qiuguo.iot.data.entity.third;
import org.hswebframework.ezorm.rdb.mapping.annotation.Comment;
import org.hswebframework.web.crud.annotation.EnableEntityEvent;
import org.hswebframework.web.api.crud.entity.GenericEntity;
import javax.persistence.Column;
import javax.persistence.Table;import lombok.Data;
import java.util.Date;
/**
* <p>
* </p>*第三方和用户信息绑定表
* @author wulin
* @since 2023-08-08
*/

@Data
@Comment("第三方和用户信息绑定表")
@Table(name = "third_user_bind")
@EnableEntityEvent
public class ThirdUserBindEntity  extends GenericEntity<Long> {
    @Comment("id")
    @Column(name = "id", length = 11, nullable = false, unique = true)
    private Long id;

    @Comment("是否删除：0 否 1 删除")
    @Column(name = "is_delete", nullable = false)
    private Integer isDelete;

    @Comment("创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @Comment("修改时间")
    @Column(name = "modify_time")
    private Date modifyTime;

    @Comment("用户id")
    @Column(name = "user_id", nullable = false)
    private Long userId;

    @Comment("第三方用户id")
    @Column(name = "third_user_id", length = 100)
    private Long thirdUserId;

    @Comment("第三方安全验证信息")
    @Column(name = "third_security", length = 255)
    private String thirdSecurity;

    @Comment("third_config_info中的id")
    @Column(name = "third_id", nullable = false)
    private Long thirdId;

}