package org.dromara.system.domain.vo;

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

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "分组ID")
    private Long groupId;

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

    /**
     * 项目组名称
     */
    @ExcelProperty(value = "项目组名称")
    private String groupName;

    /**
     * 包含项目列表
     */
    @ExcelProperty(value = "包含项目列表")
    private String projectList;

    /**
     * 成员性别（0不分男女 1男 2女）
     */
    @ExcelProperty(value = "成员性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=不分男女,1=男,2=女")
    private String memberGender;

    /**
     * 排序字段
     */
    @ExcelProperty(value = "排序字段")
    private String sortOrder;

    /**
     * 排序规则(0升序1降序)
     */
    @ExcelProperty(value = "排序规则(0升序1降序)")
    private Long sortRule;

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

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


}
