package com.yc.ship.module.resource.controller.admin.routecost.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 ResourceRouteCostRespVO {

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

    @Schema(description = "费用类型", example = "2")
    @ExcelProperty("费用类型")
    private String type;

    @Schema(description = "包含类型")
    @ExcelProperty("包含类型")
    private String include;

    @Schema(description = "不包含类型")
    @ExcelProperty("不包含类型")
    private String noInclude;

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

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

}