package com.jeesharp.business.modules.member.dto;

import com.jeesharp.business.modules.member.entity.Member;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 第三方授权登录解析结果：会员实体及是否本次新建。
 *
 * @author jeesharp
 */
@Data
@Schema(description = "第三方登录会员解析结果")
public class MemberThirdPartyLoginOutcome {

    @Schema(description = "会员实体")
    private Member member;

    @Schema(description = "是否本次请求中新创建的会员")
    private boolean newlyCreated;
}
