package com.bonus.material.task.domain;

import com.bonus.common.core.annotation.Excel;
import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel(description = "任务表tm_task")
@Data
public class TmTask extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -4135112109792782142L;

    private String id;

    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    private Long parentId;

    /**
     * 任务类型(定义数据字典)
     */
    @ApiModelProperty(value = "任务类型(数据字典)")
    private Integer taskType;

    /**
     * 任务状态(定义数据字典)
     */
    @ApiModelProperty(value = "任务状态(数据字典)")
    private Integer taskStatus;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    @Excel(name = "领料单号", sort = 1)
    private String code;

    /**
     * 承租方公司id
     */
    @ApiModelProperty(value = "承租方公司id")
    private Long buyerCompanyId;

    @ApiModelProperty(value = "出租方公司id")
    private Long sellerCompanyId;

    @ApiModelProperty(value = "待办通知公司id")
    private Long noticeCompanyId;

    @ApiModelProperty(value = "关键字")
    private String keyWord;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "任务状态")
    @Excel(name = "任务状态", sort = 9)
    private String taskName;

    private String status;
}