package com.cpxt.biz.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cpxt.common.annotation.Excel;
import com.cpxt.common.core.domain.BaseEntity;

/**
 * 司机打卡记录对象 biz_driver_clock
 * 
 * @author ruoyi
 * @date 2024-12-23
 */
@Data
public class BizDriverClock
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

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

    /** 打卡车牌号 */
    @Excel(name = "打卡车牌号")
    private String carNo;


    @TableField(exist = false)
    private String driverName;

    /** 上班打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上班打卡时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date onTime;

    /** 打卡照片 */
    @Excel(name = "上班打卡照片")
    private String onImg;

    /** 上班打卡说明 */
    private String onRemark;

    /** 下班打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下班打卡时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date offTime;

    /** 下班打卡照片 */
    @Excel(name = "下班打卡照片")
    private String offImg;

    /** 下班打卡说明 */
    private String offRemark;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
