/FileExtraction/Java_unseen/Uoor_xmu-2016-MrCode/src/com/mrcode/model/Grouppurchasevoucher.java
package com.mrcode.model;

import java.sql.Timestamp;


/**
 * Grouppurchasevoucher entity. @author MyEclipse Persistence Tools
 */

public class Grouppurchasevoucher  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 8637564334874905879L;
	private Integer id;
     private Roomtype roomtype;
     private Mrcodeorder mrcodeorder;
     private Customer customer;
     private String orderCode;
     private Hotel hotel;
     private Integer used;
     private Timestamp consumeTime;
     private Float price;
     private Timestamp createTime;
     private Timestamp expiredTime;
     private Integer column3;


    // Constructors

    /** default constructor */
    public Grouppurchasevoucher() {
    }

	/** minimal constructor */
    public Grouppurchasevoucher(Integer id, Roomtype roomtype, Mrcodeorder mrcodeorder, Customer customer, String orderCode, Hotel hotel) {
        this.id = id;
        this.roomtype = roomtype;
        this.mrcodeorder = mrcodeorder;
        this.customer = customer;
        this.orderCode = orderCode;
        this.hotel = hotel;
    }
    
    /** full constructor */
    public Grouppurchasevoucher(Integer id, Roomtype roomtype, Mrcodeorder mrcodeorder, Customer customer, String orderCode, Hotel hotel, Integer used, Timestamp consumeTime, Float price, Timestamp createTime, Timestamp expiredTime, Integer column3) {
        this.id = id;
        this.roomtype = roomtype;
        this.mrcodeorder = mrcodeorder;
        this.customer = customer;
        this.orderCode = orderCode;
        this.hotel = hotel;
        this.used = used;
        this.consumeTime = consumeTime;
        this.price = price;
        this.createTime = createTime;
        this.expiredTime = expiredTime;
        this.column3 = column3;
    }

   
    // Property accessors

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

    public Roomtype getRoomtype() {
        return this.roomtype;
    }
    
    public void setRoomtype(Roomtype roomtype) {
        this.roomtype = roomtype;
    }

    public Mrcodeorder getMrcodeorder() {
        return this.mrcodeorder;
    }
    
    public void setMrcodeorder(Mrcodeorder mrcodeorder) {
        this.mrcodeorder = mrcodeorder;
    }

    public Customer getCustomer() {
        return this.customer;
    }
    
    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public String getOrderCode() {
        return this.orderCode;
    }
    
    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Hotel getHotel() {
        return this.hotel;
    }
    
    public void setHotel(Hotel hotel) {
        this.hotel = hotel;
    }

    public Integer getUsed() {
        return this.used;
    }
    
    public void setUsed(Integer used) {
        this.used = used;
    }

    public Timestamp getConsumeTime() {
        return this.consumeTime;
    }
    
    public void setConsumeTime(Timestamp consumeTime) {
        this.consumeTime = consumeTime;
    }

    public Float getPrice() {
        return this.price;
    }
    
    public void setPrice(Float price) {
        this.price = price;
    }

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getExpiredTime() {
        return this.expiredTime;
    }
    
    public void setExpiredTime(Timestamp expiredTime) {
        this.expiredTime = expiredTime;
    }

    public Integer getColumn3() {
        return this.column3;
    }
    
    public void setColumn3(Integer column3) {
        this.column3 = column3;
    }
   








}