using Ease.Core.Model; using System; using System.Collections.Generic; using System.Data; namespace HRM.BO { public class EductionalQualification : AuditTrailBase { #region Constructor public EductionalQualification() { DegreeTitleId = 0; DisciplineId = 0; BoardId = 0; _name = String.Empty; _passingYear = 0;//DateTime.MinValue; _resultID = 0; _cgpaOrMarks = 0.0; _cgpaOrMarksOutOf = 0.0; _isHighestEducation = false; _cvID = 0; _instituteName = String.Empty; } #endregion #region Properties private int _degreeTitleID; private int _disciplineID; private int _boardID; private string _name; private int _passingYear; private int _resultID; private double _cgpaOrMarks; private double _cgpaOrMarksOutOf; private bool _isHighestEducation; private int _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 int CvId { get { return _cvID; } set { _cvID = value; } } public int DegreeTitleId { get { return _degreeTitleID; } set { _degreeTitleID = value; } } public EducationLevel DegreeTitle { get; set; } //public EducationLevel DegreeTitle //{ // get // { // if (_degreeTitleID.Integer > 0) // return EducationLevel.Get(this.DegreeTitleId); // return null; // } //} public int DisciplineId { get { return _disciplineID; } set { _disciplineID = value; } } public Discipline Discipline { get; set; } //public Discipline Discipline //{ // get // { // if (_disciplineID.Integer > 0) // return Discipline.Get(this.DisciplineId); // return null; // } //} public int BoardId { get { return _boardID; } set { _boardID = value; } } public Institution Board { get; set; } //public Institution Board //{ // get // { // if (_boardID.Integer > 0) // return Institution.Get(this.BoardId); // return null; // } //} public int ResultID { get { return _resultID; } set { _resultID = value; } } public ResultType Result { get; set; } //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 } }