package com.ruoyi.clock.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
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 lombok.EqualsAndHashCode;

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

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

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("店员信息业务对象")
public class EmployeeNameBo extends BaseEntity {

    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id", required = true)
    @NotNull(message = "员工id不能为空", groups = { EditGroup.class })
    private Long employeeId;

    /**
     * 员工姓名
     */
    @ApiModelProperty(value = "员工姓名", required = true)
    private String employeeName;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像")
    private String avatar;
}
