package com.cool.store.dto.login;

import com.cool.store.enums.LoginTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 登录DTO
 * </p>
 *
 * @author wangff
 * @since 2025/9/3
 */
@Data
public class UserLoginDTO {
    @ApiModelProperty("手机号")
    private String mobile;

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

    @NotNull(message = "登录类型不能为空")
    private LoginTypeEnum loginType;
}
