package com.palmnest.model.washcar;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 洗车订单表
 *
 * @author longmeizhen
 */
@Entity
@Table(name = "tb_car_washOrder")
public class WashCarOrder implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 2378799168407713569L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	private Long    id;
	private String  orderNo;//订单编号
	private Date    createTime;//创建时间
	private Long    creator;//创建人
	private String  source;//来源(1微信2PC)
	private Long    preOrder;//下单人
	private String  status;//订单状态  1已提交2已接单（已派单）3洗车中4已完成洗车5已转单6已取消
	private String  operaManagerId;//操作主管
	private String  carWasherId;//洗车员
	private String  payState;//支付状态
	private Long    custId;//用户id
	private String  parkSpace;//停车位置
	private String  keySpace;//钥匙位置
	private Date    modifyTime;
	private String  modifier;
	private Integer isGetKey;//是否取钥匙
	private String  carNumber;//车牌号(用于用户更改车牌号，不更改用户原有车牌号)
	private String  orgId;//项目id


	public Long getId() {
		return id;
	}

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

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Date getCreateTime() {
		return createTime;
	}

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

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Long getPreOrder() {
		return preOrder;
	}

	public void setPreOrder(Long preOrder) {
		this.preOrder = preOrder;
	}

	public String getStatus() {
		return status;
	}

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

	public String getOperaManagerId() {
		return operaManagerId;
	}

	public void setOperaManagerId(String operaManagerId) {
		this.operaManagerId = operaManagerId;
	}

	public String getCarWasherId() {
		return carWasherId;
	}

	public void setCarWasherId(String carWasherId) {
		this.carWasherId = carWasherId;
	}

	public String getPayState() {
		return payState;
	}

	public void setPayState(String payState) {
		this.payState = payState;
	}

	public Long getCustId() {
		return custId;
	}

	public void setCustId(Long custId) {
		this.custId = custId;
	}

	public String getParkSpace() {
		return parkSpace;
	}

	public void setParkSpace(String parkSpace) {
		this.parkSpace = parkSpace;
	}

	public String getKeySpace() {
		return keySpace;
	}

	public void setKeySpace(String keySpace) {
		this.keySpace = keySpace;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	public Integer getIsGetKey() {
		return isGetKey;
	}

	public void setIsGetKey(Integer isGetKey) {
		this.isGetKey = isGetKey;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}


}
