package com.inspect.metadata.robuavtask.domain;

import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BasedataPatrolRobUavTask extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long taskId;
    @Excel(
            name = "任务编号"
    )
    private String taskCode;
    @Excel(
            name = "任务名称"
    )
    private String taskName;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @Excel(
            name = "任务执行时间",
            width = 30.0D,
            dateFormat = "yyyy-MM-dd HH:mm:ss"
    )
    private Date taskExecTime;
    @Excel(
            name = "任务编号"
    )
    private String taskFilePath;

    @Override
    public String toString() {
        return "BasedataPatrolRobUavTask{" +
                "patrolRobUavTaskId=" + taskId +
                ", patrolRobUavTaskCode='" + taskCode + '\'' +
                ", patrolRobUavTaskName='" + taskName + '\'' +
                ", patrolRobUavTaskExetime=" + taskExecTime +
                ", patrolRobUavTaskFilePath='" + taskFilePath + '\'' +
                '}';
    }
}
