package org.dromara.system.domain.vo;

import org.dromara.system.domain.TblCarPath;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.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;



/**
 * 车辆路线视图对象 tbl_car_path
 *
 * @author Lion Li
 * @date 2024-02-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TblCarPath.class)
public class TblCarPathVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 路线名称
     */
    @ExcelProperty(value = "路线名称")
    private String name;

    /**
     * 起止及经过站点信息（包括场站编号及路过场站的时间）
     */
    @ExcelProperty(value = "起止及经过站点信息", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "包=括场站编号及路过场站的时间")
    private String stationList;


    /**
     * 司机
     */
    @ExcelProperty(value = "司机")
    private Long driverInfo;

    /**
     * 随车人员
     */
    @ExcelProperty(value = "随车人员")
    private Long attendantInfo;

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

    /**
     * 扩展
     */
    @ExcelProperty(value = "扩展")
    private String ext1;

    /**
     * 扩展2
     */
    @ExcelProperty(value = "扩展2")
    private String ext2;


}
