package com.zg.project.wisdom.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zg.framework.aspectj.lang.annotation.Excel;
import com.zg.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

import com.zg.framework.aspectj.lang.annotation.Excel;
import com.zg.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class WcsTaskResult extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 请求ID（立库传的是 taskID） */
    @JsonProperty("taskID")
    @Excel(name = "请求ID")
    private String taskId;

    /** 状态（立库传的是 TaskStatus） */
    @JsonProperty("TaskStatus")
    @Excel(name = "状态")
    private String taskStatus;

    /** 说明 */
    @Excel(name = "状态说明")
    private String msg;

    /** 任务编号 */
    @Excel(name = "WCS任务编号")
    private String jobId;

    /** 所有者 */
    @Excel(name = "任务所有者")
    private String owner;

    /** 类型 */
    @Excel(name = "任务类型")
    private String type;

    /** 优先级 */
    @Excel(name = "优先级")
    private String priority;

    /** 起始位置 */
    @Excel(name = "起始位置")
    private String sourceName;

    /** 目标位置 */
    @Excel(name = "目标位置")
    private String targetName;

    @Excel(name = "创建时间")
    private Date createTime;

    @Excel(name = "更新时间")
    private Date updateTime;

    /** 是否删除 */
    private String isDelete;

    // Getter / Setter
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("taskId", getTaskId())
                .append("taskStatus", getTaskStatus())
                .append("msg", getMsg())
                .append("jobId", getJobId())
                .append("owner", getOwner())
                .append("type", getType())
                .append("priority", getPriority())
                .append("sourceName", getSourceName())
                .append("targetName", getTargetName())
                .append("isDelete", getIsDelete())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
