package org.dromara.system.domain.vo;

import org.dromara.system.domain.GameReferee;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 裁判视图对象 game_referee
 *
 * @author zlt
 * @date 2025-07-30
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GameReferee.class)
public class GameRefereeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "裁判ID")
    private Long refereeId;

    /**
     * 赛事ID
     */
    @ExcelProperty(value = "赛事ID")
    private Long eventId;

    /**
     * 裁判姓名
     */
    @ExcelProperty(value = "裁判姓名")
    private String name;

    /**
     * 所属裁判组
     */
    @ExcelProperty(value = "所属裁判组")
    private String groupName;

    /**
     * 裁判账号
     */
    @ExcelProperty(value = "账号")
    private String account;

    /**
     * 密码
     */
    @ExcelProperty(value = "密码")
    private String password;

    /**
     * 负责的赛事项目
     */
    private String projectList;

    /**
     * 裁判码
     */
    @ExcelProperty(value = "裁判码")
    private String refereeCode;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
