package com.bbd.bpm.domain;

import javax.persistence.*;

//请假单信息表
@Entity
@Table(name = "vacation_form")
public class VacationForm {
    @Id
    @GeneratedValue
    private Integer id;
	
    private String title;
    
    private String content;
    
    //申请者
    private String applicant;
    
    //审批者
    private String approver;

    //申请所处状态
    @Transient
    private String state;


    private Integer days;

	public Integer getDays() {
		return days;
	}

	public void setDays(Integer days) {
		this.days = days;
	}
    
	public VacationForm(){

    }
    public Integer getId() {
		return id;
	}

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

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String getApplicant() {
		return applicant;
	}
	
	public void setApplicant(String applicant) {
		this.applicant = applicant;
	}
	
	public String getApprover() {
		return approver;
	}
	public void setApprover(String approver) {
		this.approver = approver;
	}
	
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
}