package com.uas.platform.b2b.mobile.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 对审批流进行操作
 * 
 * @author hejq
 * @time 创建时间：2017年3月18日
 */
@Entity
@Table(name = "mobile$flowoperation")
public class AppFlowOperation implements Serializable {

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

	/**
	 * id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "fop_id")
	private Long id;

	/**
	 * 审批流节点等级<br>
	 * 从1开始，数字越大等级越高
	 */
	@Column(name = "fop_nodelevel")
	private Integer nodelevel;

	/**
	 * 节点名称
	 */
	@Column(name = "fop_nodename")
	private String nodename;

	/**
	 * 来源id
	 */
	@Column(name = "fop_keyvalue")
	private Long keyvalue;
	
	/**
	 * 发起人
	 */
	@Column(name = "fop_dealname")
	private String dealname;

	/**
	 * 发起人uu
	 */
	@Column(name = "fop_dealuu")
	private Long dealuu;


	/**
	 * 发起时间
	 */
	@Column(name = "fop_recorddate")
	private Date recorddate;

	/**
	 * 保存订单时生成的审批单据的id
	 */
	@Column(name = "fop_sourceid")
	private Long sourceid;

	/**
	 * 节点处理人uu
	 */
	@Column(name = "fop_nodedealuu")
	private Long nodedealuu;

	/**
	 * 节点处理人姓名
	 */
	@Column(name = "fop_nodedealname")
	private String nodedealname;

	/**
	 * 单据所属企业
	 */
	@Column(name = "fop_nodeenuu")
	private Long enuu;
	
	/**
	 * 单据类型
	 */
	@Column(name = "fop_caller")
	private String caller;
	
	/**
	 * 审批状态
	 */
	@Column(name = "fop_status")
	private String status;

	/**
	 * 状态码
	 */
	@Column(name = "fop_statuscode")
	private String statuscode;
	
	/**
	 * 处理结果
	 */
	@Column(name = "fop_result")
	private String result;
	
	/**
	 * 进程记录
	 */
	@Column(name = "fop_processnote")
	private String processnote;
	
	/**
	 * 处理描述
	 */
	@Column(name = "fop_description")
	private String description;

	/**
	 * 处理时间
	 */
	@Column(name = "fop_dealtime")
	private Date dealtime;

	public Long getId() {
		return id;
	}

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

	public Integer getNodelevel() {
		return nodelevel;
	}

	public void setNodelevel(Integer nodelevel) {
		this.nodelevel = nodelevel;
	}

	public String getNodename() {
		return nodename;
	}

	public void setNodename(String nodename) {
		this.nodename = nodename;
	}

	public Long getKeyvalue() {
		return keyvalue;
	}

	public void setKeyvalue(Long keyvalue) {
		this.keyvalue = keyvalue;
	}

	public String getDealname() {
		return dealname;
	}

	public void setDealname(String dealname) {
		this.dealname = dealname;
	}

	public Date getRecorddate() {
		return recorddate;
	}

	public void setRecorddate(Date recorddate) {
		this.recorddate = recorddate;
	}

	public Long getNodedealuu() {
		return nodedealuu;
	}

	public void setNodedealuu(Long nodedealuu) {
		this.nodedealuu = nodedealuu;
	}

	public String getNodedealname() {
		return nodedealname;
	}

	public void setNodedealname(String nodedealname) {
		this.nodedealname = nodedealname;
	}

	public Long getEnuu() {
		return enuu;
	}

	public void setEnuu(Long enuu) {
		this.enuu = enuu;
	}

	public String getCaller() {
		return caller;
	}

	public void setCaller(String caller) {
		this.caller = caller;
	}

	public String getStatus() {
		return status;
	}

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

	public String getStatuscode() {
		return statuscode;
	}

	public void setStatuscode(String statuscode) {
		this.statuscode = statuscode;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getProcessnote() {
		return processnote;
	}

	public void setProcessnote(String processnote) {
		this.processnote = processnote;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getDealtime() {
		return dealtime;
	}

	public void setDealtime(Date dealtime) {
		this.dealtime = dealtime;
	}

	public Long getDealuu() {
		return dealuu;
	}

	public void setDealuu(Long dealuu) {
		this.dealuu = dealuu;
	}

	public Long getSourceid() {
		return sourceid;
	}

	public void setSourceid(Long sourceid) {
		this.sourceid = sourceid;
	}

}
