package com.bs.tm.domain;

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_driver_schedule
 *
 * @author bs
 * @date 2025-01-12
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_driver_schedule")
@Data
public class TmDriverSchedule 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;

    /** 司机ID */

    @Excel(name = "司机ID")
    @ApiModelProperty(value = "司机ID")
    private Long drvierId;

    /** 开始日期 */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
    private Date startDate;

    /** 结束日期 */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private Date finishDate;

    /** 作业港区 */

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

    /** 备注 */

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




}
