package com.sckw.truck.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sckw.truck.entity.KwBusinessTruckMore;
import com.sckw.truck.entity.KwBusinessTruckTransportLicense;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @desc: 车辆信息入参
 * @author: lt
 * @date: 2024/4/5 15:25
 */
@Data
public class BusinessTruckDetailRes implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * truck_no
     */
    private String truckNo;

    /**
     * 车辆类型id
     */
    private Integer truckTypeId;

    /**
     * 当前司机
     */
    private Integer driverId;

    /**
     * driver_str
     */
    private String driverStr;

    /**
     * 使用性质
     */
    private String useNature;

    /**
     * 车辆所有人
     */
    private String truckOwn;

    /**
     * 车辆识别码
     */
    private String truckVin;

    /**
     * 挂车车牌号
     */
    private String trailerNo;

    /**
     * 总质量
     */
    private Double totalWeight;

    /**
     * 整备质量
     */
    private Double curbWeight;

    /**
     * 能源类型id
     */
    private Integer energyId;

    /**
     * 车辆外廓尺寸
     */
    private String outlineDimension;

    /**
     * 核载质量
     */
    private Double nuclearLoad;

    /**
     * 皮重(吨)
     */
    private Double tareWeight;

    /**
     * 所属企业id
     */
    private Integer truckCompany;

    /**
     * 车辆当前状态 1空闲
     */
    private Integer status;

    /**
     * 注册日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date registerDate;

    /**
     * 发证时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date issueDate;

    /**
     * 发证机关
     */
    private String inspectionAuthority;

    /**
     * 行驶证主页
     */
    private String drivingLicenseFaceUrl;

    /**
     * 行驶证副业
     */
    private String drivingLicenseBackUrl;

    /**
     * create_by
     */
    private String createBy;

    /**
     * update_by
     */
    private String updateBy;

    private KwBusinessTruckTransportLicense transportLicense;
    private KwBusinessTruckMore kwBusinessTruckMore;


}
