package com.tarena.oss.dms;

/**
 * Detailmonths generated by MyEclipse Persistence Tools
 */

public class Detailmonths implements java.io.Serializable {

	// Fields

	private DetailmonthsId id;

	private String duration;

	// Constructors

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

	/** minimal constructor */
	public Detailmonths(DetailmonthsId id) {
		this.id = id;
	}

	/** full constructor */
	public Detailmonths(DetailmonthsId id, String duration) {
		this.id = id;
		this.duration = duration;
	}

	// Property accessors

	public DetailmonthsId getId() {
		return this.id;
	}

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

	public String getDuration() {
		return this.duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

}