package com.ai.da.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import com.ai.da.mapper.primary.entity.AccountExtend;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

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

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "token")
    private String token;

    @Schema(description = "userId")
    private Long userId;

    @Schema(description = "是否是试用用户")
    private Integer isTrial;
    @Schema(description = "是否完成引导")
    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;

    private Long organizationId;

    private String organizationName;

    private Long subscriptionPlanId;

}
