package com.sckw.truck.entity.res;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @desc:
 * @author: lt
 * @date: 2024/4/5 15:25
 */
@Data
public class BusinessTruckPageListRes implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * truck_no
     */
    private String truckNo;

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


    /*
    司机字符串
     */
    private String driverStr;

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

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

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

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

    /**
     * 所属车队id
     */
    private Integer truckTeam;

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

    /**
     * create_by
     */
    private String createBy;

    /**
     * update_by
     */
    private String updateBy;

    /**
     * create_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * update_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

}