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_order
 *
 * @author bs
 * @date 2025-01-15
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_work_order")
@Data
public class TmWorkOrder extends BaseEntity{
    private static final long serialVersionUID = 1L;

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

    /** 作业类型 */

    @Excel(name = "作业类型")
    @ApiModelProperty(value = "作业类型")
    private String workType;

    /** 作业港区 */

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

    /** 作业标题 */

    @Excel(name = "作业标题")
    @ApiModelProperty(value = "作业标题")
    private String workTitle;

    /** 作业内容 */

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

    /** 计划作业量 */

    @Excel(name = "计划作业量")
    @ApiModelProperty(value = "计划作业量")
    private BigDecimal planWt;

    /** 实际作业量 */

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

    /** 计划开始日期 */

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

    /** 计划结束日期 */

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

    /** 实际开始日期 */

    @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 remark;




}
