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.FeeTuitionArticleType; import net.sourceforge.fenixedu.domain.tuition.TuitionArticleState; public class FeeTuitionArticleData extends TuitionArticleData implements Serializable { private static final long serialVersionUID = 1L; private FeeTuitionArticleType feeTuitionArticleType; public FeeTuitionArticleData() { super(); } public FeeTuitionArticleData(FeeTuitionArticleData obj) { this(obj.getCode(), obj.getDescription(), obj.getValue(), obj.getManual(), obj.getCurricularYear(), obj .getStudentStatute(), obj.getState(), obj.getFeeTuitionArticleType()); } public FeeTuitionArticleData(String code, String description, BigDecimal value, Boolean manual, Integer curricularYear, StudentStatuteType studentStatute, TuitionArticleState state, FeeTuitionArticleType feeTuitionArticleType) { super(code, description, value, manual, curricularYear, studentStatute, state); this.feeTuitionArticleType = feeTuitionArticleType; } public FeeTuitionArticleType getFeeTuitionArticleType() { return feeTuitionArticleType; } @Override public boolean isFeeTuitionArticle() { return true; } @Override public TuitionArticleData getCopy() { return new FeeTuitionArticleData(this); } }