package com.starry.admin.modules.personnel.module.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 店员分组管理信息
 *
 * @author admin
 * @since 2024/6/14 14:45
 **/
@Data
@ApiModel(value = "分组返回数据", description = "店员分组信息的返回数据")
public class PlayPersonnelGroupInfoReturnVo {

    /**
     * UUID
     */
    @ApiModelProperty(value = "分组ID", example = "1")
    private String id;

    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID", example = "1")
    private String tenantId;

    /**
     * 用户ID
     **/
    @ApiModelProperty(value = "用户ID", example = "1")
    private String sysUserId;

    /**
     * 用户账号
     **/
    @ApiModelProperty(value = "用户账号", example = "admin")
    private String sysUserCode;

    /**
     * 分组名称
     */
    @ApiModelProperty(value = "分组名称", example = "销售组")
    private String groupName;

    /**
     * 组长名称
     **/
    @ApiModelProperty(value = "组长名称", example = "张三")
    private String leaderName;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", example = "1")
    private Long sort;

    /**
     * 员工总数量
     **/
    @ApiModelProperty(value = "员工总数", example = "10")
    private Integer totalEmployeesNumber;

    /**
     * 上架员工数量
     **/
    @ApiModelProperty(value = "上架员工数", example = "5")
    private Integer listingEmployeesNumber;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "添加时间", example = "2024-01-01 12:00:00")
    private LocalDateTime addTime;

}
