package com.cool.store.dto.log;

import lombok.Data;
import lombok.experimental.SuperBuilder;

import java.util.Date;
import java.util.List;

/**
 * @Author: wxp
 * @Date: 2023-06-30  10:23
 * @Description:
 */
@Data
@SuperBuilder
public class WantInfoUpdateDTO extends LogBasicDTO{

    private BaseInfoUpdate beforeBaseInfoUpdate;
    private BaseInfoUpdate afterBaseInfoUpdate;

    private IntentInfoUpdate beforeIntentInfoUpdate;
    private IntentInfoUpdate afterIntentInfoUpdate;

    private List<ClerkUpdate> beforeClerkUpdate;
    private List<ClerkUpdate> afterClerkUpdate;

    @Data
    public static class BaseInfoUpdate{
        private Long id;
        private String partnerId;
        private Long partnerLineId;
        private String mobile;
        private String username;
        private Integer sex;
        private String nation;
        private Date birthdate;
        private String idCard;
        private String idCardPhotoFront;
        private String idCardPhotoBlack;
        private String liveAddress;
        private String userPortrait;
        private Integer status;
        private String latestLogMessage;
        private String passReason;
        private String certifyFile;
        private Date passTime;
        private String passUserId;
    }

    @Data
    public static class IntentInfoUpdate{
        private Long id;
        private String partnerId;
        private Long partnerLineId;
        private String liveArea;
        private String wantShopArea;
        private Integer acceptAdjustType;
        private Integer isHaveWantShop;
        private String wantShopInfo;
        private String maxBudget;
        private String moneySource;
        private String moneyProve;
        private String education;
        private String workYear;
        private Integer isHaveWorkExp;
        private String workExp;
        private Integer isConsumer;
        private String otherBand;
        private String brandStrength;
        private String needImprove;
        private String strength;
        private String weakness;
        private String passCause;
        private Date passTime;
        private String passUser;
        private String passCertifyFile;
    }

    @Data
    public static class ClerkUpdate{
        private Long id;
        private Long partnerLineId;
        private String partnerId;
        private String username;
        private String relationship;
        private Integer age;
        private String chooseReason;
    }

}
