package com.liquidnet.service.adam.vo;

import com.liquidnet.service.adam.entity.AdamPayoutPayer;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.time.LocalDateTime;

@Data
@ApiModel()
public class AdamPayoutPayerVo {

    private String id;

    private String senderDefault;

    private String senderExisting;

    private String legalEntityType;


    private String firstName;

    private String lastName;

    private String fullName;

    private String country;

    private String idType;

    private String idNumber;

    private String address;

    private String city;

    private String province;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


    public void conversion(AdamPayoutPayer r) {
        if (r == null) {
            return;
        }
        BeanUtils.copyProperties(r, this);

    }

}
