/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.jfx.entity;

import java.util.Date;
import com.thinkgem.jeesite.modules.sys.entity.Office;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

/**
 * 订单导出类Entity
 * @author Dean
 * @version 2016-09-30
 */
public class ServiceOrder extends DataEntity<ServiceOrder> {
	
	private static final long serialVersionUID = 1L;
	private Office office;		// 配送点
	private String name;
	private Date beginDate;	// 开始时间
	private Date endDate;	// 结束时间
	
	private Integer total;
	
	public ServiceOrder() {
		super();
	}

	public ServiceOrder(String id){
		super(id);
	}
	@ExcelField(title="部门名称", align=2, sort=25)
	public Office getOffice() {
		return office;
	}

	public void setOffice(Office office) {
		this.office = office;
	}

	public Date getBeginDate() {
		return beginDate;
	}
	@ExcelField(title="员工姓名", align=2, sort=30)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	@ExcelField(title="接单总数", align=2, sort=65)
	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

}