package cn.iocoder.yudao.module.jx.domain;

import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.module.jx.core.page.TenantBaDO;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

import java.util.Date;

/**
 * 车辆保养记录对象 drive_school_upkeep
 *
 * @author ruoyi
 * @date 2024-04-01
 */
@Data
public class DriveSchoolUpkeep extends TenantBaDO
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 车辆id */
    @Excel(name = "车辆id")
    private Long carId;

    /** 保养日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保养日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintenanceDate;

    /** 保养里程 */
    @Excel(name = "保养里程")
    private Long maintenanceMileage;

    /** 年检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    /** 保险日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保险日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insuranceDate;

    /** 下次保养日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次保养日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextMaintenanceDate;

    /** 下次保养里程 */
    @Excel(name = "下次保养里程")
    private Long nextMaintenanceMileage;
}
