package com.yc.ship.module.resource.controller.admin.routelight.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import com.yc.ship.framework.excel.core.annotations.DictFormat;
import com.yc.ship.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 航线管理-行程亮点 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ResourceRouteLightRespVO {

    @Schema(description = "图标")
    @ExcelProperty("图标")
    private String icon;

    @Schema(description = "航线ID", example = "3000")
    @ExcelProperty("航线ID")
    private Long routeId;

    @Schema(description = "亮点名称", example = "芋艿")
    @ExcelProperty("亮点名称")
    private String name;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}