package org.dromara.system.domain.vo;

import org.dromara.system.domain.GameTeam;
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_team
 *
 * @author zlt
 * @date 2025-07-30
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GameTeam.class)
public class GameTeamVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

//    @ExcelProperty(value = "主键")
    private Long teamId;

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

    /**
     * 队伍名称
     */
    @ExcelProperty(value = "队伍名称")
    private String teamName;

    /**
     * 队伍编号
     */
    @ExcelProperty(value = "队伍编号")
    private String teamCode;

    /**
     * 领队
     */
    @ExcelProperty(value = "领队")
    private String leader;

    /**
     * 队员列表
     */
    @ExcelProperty(value = "队员列表")
    private String athleteValue;

    /**
     * 参与项目列表
     */
    @ExcelProperty(value = "参与项目列表")
    private String projectValue;

    /**
     * 人数
     */
    @ExcelProperty(value = "人数")
    private Long athleteNum;

    /**
     * 号码段
     */
    @ExcelProperty(value = "号码段")
    private String numberRange;

    /**
     * 团队描述
     */
    @ExcelProperty(value = "团队描述")
    private String teamDescribe;

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

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


}
