// =====================================================================================
// Copyright © 2005 by . All rights are reserved.
//
// If you like this code then feel free to go ahead and use it.
// The only thing I ask is that you don't remove or alter my copyright notice.
//
// Your use of this software is entirely at your own risk. I make no claims or
// warrantees about the reliability or fitness of this code for any particular purpose.
// If you make changes or additions to this code please mark your code as being yours.
//
// website , email OmarALZabir@gmail.com, msn oazabir@hotmail.com
// =====================================================================================
#region Using directives
using System;
using System.ComponentModel;
using System.Collections;
using System.Xml.Serialization;
#endregion
namespace SmartInstitute
{
///<summary>
/// An object representation of the 'Assessment' table. [No description for this table in the database]
///</summary>
/// <remarks>
/// Inherits from the <see cref="AssessmentBase"/> class.
/// Sorting and interfaces implementations are part of the <see cref="AssessmentBase"/> class.
/// Only custom implementations are done in this class.
/// </remarks>
[Serializable]
public class Assessment : AssessmentBase
{
///<summary>
/// Creates a new <see cref="Assessment"/> instance.
///</summary>
public Assessment() : base()
{
}
///<summary>
/// Creates a new <see cref="Assessment"/> instance.
///</summary>
///<param name="ID"></param>
///<param name="Serial"></param>
///<param name="StudentID"></param>
///<param name="ExamPermitNumber"></param>
///<param name="AdmissionFee"></param>
///<param name="TuitionFee"></param>
///<param name="ComputerLabFee"></param>
///<param name="ScienceLabFee"></param>
///<param name="ActivityFee"></param>
///<param name="DevelopmentFee"></param>
///<param name="MiscFee"></param>
///<param name="MedicalFee"></param>
///<param name="LibraryFee"></param>
///<param name="IDCardFee"></param>
///<param name="OtherFee1"></param>
///<param name="OtherFee1Desc"></param>
///<param name="OtherFee2"></param>
///<param name="OtherFee2Desc"></param>
///<param name="Discount"></param>
///<param name="Scholarship"></param>
///<param name="OtherDiscount"></param>
///<param name="OtherDiscountDesc"></param>
///<param name="RegistrationDate"></param>
///<param name="IsAdmissionFeePaid"></param>
///<param name="IsAnnualFeePaid"></param>
///<param name="PaymentType"></param>
///<param name="ScholarshipInPercent"></param>
///<param name="DiscountInPercent"></param>
///<param name="Currency"></param>
///<param name="SemesterOrder"></param>
///<param name="PreviousBalance"></param>
///<param name="ChangeStamp"></param>
public Assessment(System.Int32 ID, System.Int32 Serial, System.Int32 StudentID, System.String ExamPermitNumber, System.Decimal AdmissionFee, System.Decimal TuitionFee, System.Decimal ComputerLabFee, System.Decimal ScienceLabFee, System.Decimal ActivityFee, System.Decimal DevelopmentFee, System.Decimal MiscFee, System.Decimal MedicalFee, System.Decimal LibraryFee, System.Decimal IDCardFee, System.Decimal OtherFee1, System.String OtherFee1Desc, System.Decimal OtherFee2, System.String OtherFee2Desc, System.Decimal Discount, System.Decimal Scholarship, System.Decimal OtherDiscount, System.String OtherDiscountDesc, System.DateTime RegistrationDate, System.Boolean IsAdmissionFeePaid, System.Boolean IsAnnualFeePaid, System.Int32 PaymentType, System.Int32 ScholarshipInPercent, System.Int32 DiscountInPercent, System.Int32 Currency, System.Int32 SemesterOrder, System.Decimal PreviousBalance, System.DateTime ChangeStamp) : base( ID, Serial, StudentID, ExamPermitNumber, AdmissionFee, TuitionFee, ComputerLabFee, ScienceLabFee, ActivityFee, DevelopmentFee, MiscFee, MedicalFee, LibraryFee, IDCardFee, OtherFee1, OtherFee1Desc, OtherFee2, OtherFee2Desc, Discount, Scholarship, OtherDiscount, OtherDiscountDesc, RegistrationDate, IsAdmissionFeePaid, IsAnnualFeePaid, PaymentType, ScholarshipInPercent, DiscountInPercent, Currency, SemesterOrder, PreviousBalance, ChangeStamp)
{
}
public decimal NetTotal
{
get
{
return base._ActivityFee + base._AdmissionFee + base._ComputerLabFee
+ base._DevelopmentFee - base._Discount + base._LibraryFee
+ base._MedicalFee + base._MiscFee - base._OtherDiscount
+ base._OtherFee1 + base._OtherFee2 - base._Scholarship
+ base._ScienceLabFee + base._TuitionFee;
}
}
}
}