package cn.quantgroup.xyqb.entity;

import lombok.*;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 销户记录
 *
 * @author killer
 * @date 2021年12月29日
 **/
@Getter
@Setter
@ToString
@Builder
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "user_deregister_record")
public class UserDeregisterRecord implements Serializable {

    private static final long serialVersionUID = -1L;

    /** 主建ID */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    private Long id;
    /** 用户表ID */
    @Column(name = "user_id")
    private Long userId;
    /** 手机号MD5 */
    @Column(name = "phone_no")
    private String phoneNo;
    /** password */
    @Column(name = "password")
    private String password;
    /** 渠道表ID */
    @Column(name = "registered_from")
    private Long registeredFrom;
    /** uuid */
    @Column(name = "uuid")
    private String uuid;
    /** uuid */
    @Column(name = "deregister_time")
    private Date deregisterTime;
}
