package com.ruoyi.clock.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 店员信息业务对象 tb_employee
 *
 * @author pengc
 * @date 2026-03-04
 */

@Data
@ApiModel("店员信息业务对象")
public class EmployeePasswordBo{

    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id", required = true)
    private Long employeeId;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String password;

}
