package com.hotwj.platform.resourceManagement.vehicleMileage.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.resourceManagement.vehicleMileage.domain.HotVehicleMileage;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 车辆行驶里程视图对象 hot_vehicle_mileage
 *
 * @author shihongwei
 * @date 2026-01-04
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotVehicleMileage.class)
public class HotVehicleMileageVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long companyId;

    /**
     * 车辆ID
     */
    @ExcelProperty(value = "车辆ID")
    private Long vehicleId;

    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号")
    private String plateNumber;

    /**
     * 行驶开始日期
     */
    @ExcelProperty(value = "行驶开始日期")
    private Date startDate;

    /**
     * 行驶结束日期
     */
    @ExcelProperty(value = "行驶结束日期")
    private Date endDate;

    /**
     * 行驶里程(公里)
     */
    @ExcelProperty(value = "行驶里程(公里)")
    private BigDecimal mileageKm;

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

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
