package com.bs.tm.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 车辆作业量对象 tm_vehicle_workload
 *
 * @author bs
 * @date 2025-01-12
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_vehicle_workload")
@Data
public class TmVehicleWorkload extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 车辆ID */

    @Excel(name = "车辆ID")
    @ApiModelProperty(value = "车辆ID")
    private Long vehicleId;

    /** 车牌号 */

    @Excel(name = "车牌号")
    @ApiModelProperty(value = "车牌号")
    private String vehicleNo;

    /** 车辆类型 */

    @Excel(name = "车辆类型")
    @ApiModelProperty(value = "车辆类型")
    private String vehicleType;

    /** 趟次开始时间 */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "趟次开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "趟次开始时间")
    private Date startTime;

    /** 趟次结束时间 */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "趟次结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "趟次结束时间")
    private Date finishTime;

    /** 趟次作业量 */

    @Excel(name = "趟次作业量")
    @ApiModelProperty(value = "趟次作业量")
    private BigDecimal tripWorknum;

    /** 作业港区 */

    @Excel(name = "作业港区")
    @ApiModelProperty(value = "作业港区")
    private String workArea;

    /** 备注 */

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;




}
