package cn.iocoder.yudao.module.system.controller.admin.tenant.vo.tenant;

import cn.hutool.core.util.StrUtil;
import cn.iocoder.yudao.framework.common.validation.InEnum;
import cn.iocoder.yudao.module.system.enums.social.SocialTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Schema(description = "管理后台 - 账号密码登录 Request VO，如果登录并绑定社交用户，需要传递 social 开头的参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AuthGroupTenantLoginReqVO {


    @Schema(description = "登陆平台,0-企业，1-集团", requiredMode = Schema.RequiredMode.REQUIRED, example = "buzhidao")
    private Integer loginPlatform;

    @Schema(description = "登陆设备,1-pc，2-h5", requiredMode = Schema.RequiredMode.REQUIRED, example = "buzhidao")
    private Integer loginDevice;


    private String tenantId;



}