package org.dromara.system.domain.vo;

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

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 类型编码
     */
    @ExcelProperty(value = "类型编码")
    private String typeCode;

    /**
     * 类型名称
     */
    @ExcelProperty(value = "类型名称")
    private String typeName;

    /**
     * 类型描述
     */
    @ExcelProperty(value = "类型描述")
    private String typeDesc;

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

    /**
     * 是否启用（0是 1否）
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private String isEnabled;

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

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


}
