171 lines
3.7 KiB
C#
171 lines
3.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Ease.CoreV35.Model;
|
|
|
|
namespace Payroll.BO
|
|
{
|
|
[Serializable]
|
|
public class EductionalQualification : AuditTrailBase
|
|
{
|
|
|
|
#region Constructor
|
|
|
|
public EductionalQualification()
|
|
{
|
|
DegreeTitleId = null;
|
|
DisciplineId = null;
|
|
BoardId = null;
|
|
_name = String.Empty;
|
|
_passingYear = 0;//DateTime.MinValue;
|
|
_resultID = null;
|
|
_cgpaOrMarks = 0.0;
|
|
_cgpaOrMarksOutOf = 0.0;
|
|
_isHighestEducation = false;
|
|
_cvID = null;
|
|
_instituteName = String.Empty;
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
private ID _degreeTitleID;
|
|
private ID _disciplineID;
|
|
private ID _boardID;
|
|
private string _name;
|
|
private int _passingYear;
|
|
private ID _resultID;
|
|
private double _cgpaOrMarks;
|
|
private double _cgpaOrMarksOutOf;
|
|
private bool _isHighestEducation;
|
|
private ID _cvID;
|
|
private string _instituteName;
|
|
|
|
|
|
|
|
public string Name
|
|
{
|
|
get { return _name; }
|
|
set { _name = value; }
|
|
}
|
|
|
|
public int PassingYear
|
|
{
|
|
get { return _passingYear; }
|
|
set { _passingYear = value; }
|
|
}
|
|
|
|
|
|
|
|
public double CgpaOrMarks
|
|
{
|
|
get { return _cgpaOrMarks; }
|
|
set { _cgpaOrMarks = value; }
|
|
}
|
|
|
|
public double CgpaOrMarksOutOf
|
|
{
|
|
get { return _cgpaOrMarksOutOf; }
|
|
set { _cgpaOrMarksOutOf = value; }
|
|
}
|
|
|
|
public bool IsHighestEducation
|
|
{
|
|
get { return _isHighestEducation; }
|
|
set { _isHighestEducation = value; }
|
|
}
|
|
|
|
public ID CvId
|
|
{
|
|
get { return _cvID; }
|
|
set { _cvID = value; }
|
|
}
|
|
|
|
public ID DegreeTitleId
|
|
{
|
|
get
|
|
{
|
|
return _degreeTitleID;
|
|
}
|
|
set { _degreeTitleID = value; }
|
|
}
|
|
|
|
public EducationLevel DegreeTitle
|
|
{
|
|
get
|
|
{
|
|
if (_degreeTitleID.Integer > 0)
|
|
return EducationLevel.Get(this.DegreeTitleId);
|
|
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public ID DisciplineId
|
|
{
|
|
get
|
|
{
|
|
return _disciplineID;
|
|
}
|
|
set { _disciplineID = value; }
|
|
}
|
|
|
|
public Discipline Discipline
|
|
{
|
|
get
|
|
{
|
|
if (_disciplineID.Integer > 0)
|
|
return Discipline.Get(this.DisciplineId);
|
|
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public ID BoardId
|
|
{
|
|
get { return _boardID; }
|
|
set { _boardID = value; }
|
|
}
|
|
|
|
public Institution Board
|
|
{
|
|
get
|
|
{
|
|
if (_boardID.Integer > 0)
|
|
return Institution.Get(this.BoardId);
|
|
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public ID ResultID
|
|
{
|
|
get { return _resultID; }
|
|
set { _resultID = value; }
|
|
}
|
|
|
|
public ResultType Result
|
|
{
|
|
get
|
|
{
|
|
if (_resultID.Integer > 0)
|
|
return ResultType.Get(this.ResultID);
|
|
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public string InstituteName
|
|
{
|
|
get { return _instituteName; }
|
|
set { _instituteName = value; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|