package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import com.jjb.saas.security.starter.api.co.DecryptCmd;
import com.jjb.saas.security.starter.serialize.dto.MaskDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

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

/**
 * web-client
 *
 * @Author zhangyue
 * @Date 2025-11-04 14:07:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserCheckPassWordCmd extends Command {
    @ApiModelProperty(value = "GBS用户id", name = "id", required = true)
    @NotNull(message = "GBS用户id不能为空")
    private Long id;
    @ApiModelProperty(value = "密码", name = "password")
    @NotEmpty(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "加密信息", name = "isEncrypted")
    private MaskDTO maskInfo;
    @ApiModelProperty(value = "加密字段", name = "fieldKey")
    private String fieldKey;


}

