package com.ai.da.model.vo;

import com.ai.da.mapper.primary.entity.AccountExtend;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("登入-响应")
public class AccountLoginVO {

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("userId")
    private Long userId;

    @ApiModelProperty("是否是试用用户")
    private Integer isTrial;
    @ApiModelProperty("是否完成引导")
    private Integer isBeginner;

    private Integer systemUser;

    private String avatar;

    private Long followeeCount;

    private Long followerCount;

    private List<AccountExtend> accountExtendList;

    private Long validStartTime;

    private Long validEndTime;

    private String Language;

    // 订阅id(stripe提供)
    private String subscriptionId;

    // 订阅状态
    private String status;

    // 订阅过期时间
    private String expireTime;

    // 订阅类型 month || year
    private String subscriptionType;

    // 是否自动续订
    private boolean isAutoRenewal;

    // 是否是affiliate
    private boolean isAffiliate = false;

    private String country;

    private String occupation;

    private Long usernameModify;

    private String title;

    private String surname;

    private String givenName;

}
