package com.mmc.iuav.user.entity.fdd;

import com.mmc.iuav.user.model.fdd.dto.UserFddDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * author:zhenjie
 * Date:2022/9/1
 * time:15:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserFddDO implements Serializable {

    private static final long serialVersionUID = -6432171445803296265L;
    private Integer id;
    private String unionId;
    private String customerId;
    private Integer personVerifyStatus;
    private Integer entVerifyStatus;
    private Integer accountType;
    private Date createTime;
    private Date updateTime;

    public UserFddDTO buildUserFddDTO() {
        return UserFddDTO.builder().id(this.id).unionId(this.unionId).customerId(this.customerId).personVerifyStatus(this.personVerifyStatus)
                .entVerifyStatus(this.entVerifyStatus).accountType(this.accountType).createTime(this.createTime).updateTime(this.updateTime).build();
    }

}
