package com.sifang.modules.order.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 派工服务商Entity
 * @author lzp
 * @version 2019-11-13
 */
@Entity
@Table(name = "crm_order_dispatch")
public class CrmOrderDispatch implements Serializable{

	private static final long serialVersionUID = 1L;
	private String id; 		// 编号
	private String orderId;
	private Date dispatchTime;
	private String status;
	private Date endTime;
	private String promiseFlag;
	private Date promiseTime;
	private Date dropInTime;
	private Date updateTime;
	private String updateBy;
	private String employeeId;
	private String employeeName;
	private String completionResult;
	private String remarks;
	private String siteId;
	private String siteName;//反馈类型
	private Date processTime;


	public CrmOrderDispatch() {
		super();
		this.dispatchTime= new Date();
		this.status = "0";
	}
	@Id
	@GeneratedValue(generator = "idGenerator")
	@GenericGenerator(name ="idGenerator" , strategy ="uuid")
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Date getDispatchTime() {
		return dispatchTime;
	}

	public void setDispatchTime(Date dispatchTime) {
		this.dispatchTime = dispatchTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getPromiseFlag() {
		return promiseFlag;
	}

	public void setPromiseFlag(String promiseFlag) {
		this.promiseFlag = promiseFlag;
	}

	public Date getPromiseTime() {
		return promiseTime;
	}

	public void setPromiseTime(Date promiseTime) {
		this.promiseTime = promiseTime;
	}

	public Date getDropInTime() {
		return dropInTime;
	}

	public void setDropInTime(Date dropInTime) {
		this.dropInTime = dropInTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

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

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public String getCompletionResult() {
		return completionResult;
	}

	public void setCompletionResult(String completionResult) {
		this.completionResult = completionResult;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getSiteId() {
		return siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public Date getProcessTime() {
		return processTime;
	}

	public void setProcessTime(Date processTime) {
		this.processTime = processTime;
	}
}


