package net.sourceforge.fenixedu.dataTransferObject.finantialServices; import java.io.Serializable; import java.math.BigDecimal; import net.sourceforge.fenixedu.domain.student.StudentStatuteType; import net.sourceforge.fenixedu.domain.tuition.TuitionArticleState; public class QuitTuitionArticleData extends TuitionArticleData implements Serializable { private static final long serialVersionUID = 1L; private Double payPercentage; public QuitTuitionArticleData() { super(); } public QuitTuitionArticleData(QuitTuitionArticleData obj) { this(obj.getCode(), obj.getDescription(), obj.getValue(), obj.getManual(), obj.getCurricularYear(), obj .getStudentStatute(), obj.getState(), obj.getPayPercentage()); } public QuitTuitionArticleData(String code, String description, BigDecimal value, Boolean manual, Integer curricularYear, StudentStatuteType studentStatute, TuitionArticleState state, Double payPercentage) { super(code, description, value, manual, curricularYear, studentStatute, state); this.payPercentage = payPercentage; } public Double getPayPercentage() { return payPercentage; } @Override public boolean isQuitTuitionArticle() { return true; } @Override public QuitTuitionArticleData getCopy() { return new QuitTuitionArticleData(this); } }