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_work_workload
 *
 * @author bs
 * @date 2025-01-15
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_work_workload")
@Data
public class TmWorkWorkload 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 orderId;

    /** 班次id */

    @Excel(name = "班次id")
    @ApiModelProperty(value = "班次id")
    private Long shiftId;

    /** 作业设备id */

    @Excel(name = "作业设备id")
    @ApiModelProperty(value = "作业设备id")
    private Long workEquipId;

    /** 设备类型 */

    @Excel(name = "设备类型")
    @ApiModelProperty(value = "设备类型")
    private String equipType;

    /** 设备id */

    @Excel(name = "设备id")
    @ApiModelProperty(value = "设备id")
    private Long equipId;

    /** 设备名称 */

    @Excel(name = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String equipName;

    /** 司机id */

    @Excel(name = "司机id")
    @ApiModelProperty(value = "司机id")
    private Long driverId;

    /** 司机姓名 */

    @Excel(name = "司机姓名")
    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    /** 作业内容 */

    @Excel(name = "作业内容")
    @ApiModelProperty(value = "作业内容")
    private String workContent;

    /** 实际作业量 */

    @Excel(name = "实际作业量")
    @ApiModelProperty(value = "实际作业量")
    private BigDecimal actWt;

    /** 实际开始日期 */

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

    /** 实际结束日期 */

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

    /** 作业港区 */

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

    /** 备注 */

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




}
