package com.gxwebsoft.common.system.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 登录参数
 *
 * @author WebSoft
 * @since 2021-08-30 17:35:16
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(description = "登录参数")
public class LoginParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("账号")
    private String userId;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("短信验证码")
    private String code;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("是否管理员")
    private Boolean isAdmin;

    @ApiModelProperty("是否超级管理员")
    private Boolean isSuperAdmin;

    @ApiModelProperty("应用安装状态")
    private Boolean installed;

    @ApiModelProperty("模板id")
    private Integer templateId;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

}
