public TeacherEntity(DataAccessLogic.tblTeacher teacher)
        {
            this.ID               = teacher.ID;
            this.Fullname         = teacher.Fullname;
            this.MotherName       = teacher.MotherName;
            this.BirthDate        = teacher.BirthDate;
            this.PhoneNumber      = teacher.PhoneNumber;
            this.Email            = teacher.Email;
            this.FieldOfStudy     = teacher.FieldOfStudy;
            this.YearOfExperience = teacher.YearOfExperience;
            this.SkillDescription = teacher.SkillDescription;
            this.HouseNo          = teacher.HouseNo;
            this.HiredDate        = teacher.HiredDate;
            this.Status           = teacher.Status;

            this.Campus        = new CampusEntity(teacher.tblCampu);
            this.Department    = new DepartmentEntity(teacher.tblDepartment);
            this.Gender        = new GenderEntity(teacher.tblGender);
            this.MaritalStatus = new MaritalStatusEntity(teacher.tblMaritalStatu);
            this.Region        = new RegionEntity(teacher.tblRegion);
            this.SubCity       = new SubCityEntity(teacher.tblSubCity);
            this.Woreda        = new WoredaEntity(teacher.tblWoreda);

            this.CreatedBy   = teacher.CreatedBy;
            this.CreatedDate = teacher.CreatedDate;
            this.UpdatedBy   = teacher.UpdatedBy;
            this.UpdatedDate = teacher.UpdatedDate;
        }
        public StudentEntity(DataAccessLogic.tblStudent student)
        {
            this.ID            = student.ID;
            this.Fullname      = student.Fullname;
            this.MotherName    = student.MotherName;
            this.BirthDate     = student.BirthDate;
            this.HouseNo       = student.HouseNo;
            this.IsSponsored   = student.IsSponsored;
            this.IsHandicaped  = student.IsHandicaped;
            this.AdmissionYear = student.AdmissionYear;

            this.Campus       = new CampusEntity(student.tblCampu);
            this.Gender       = new GenderEntity(student.tblGender);
            this.GradeSection = new GradeSectionEntity(student.tblGradeSection);
            this.Region       = new RegionEntity(student.tblRegion);
            this.SubCity      = new SubCityEntity(student.tblSubCity);
            this.Woreda       = new WoredaEntity(student.tblWoreda);

            this.CreatedBy   = student.CreatedBy;
            this.CreatedDate = student.CreatedDate;
            this.UpdatedBy   = student.UpdatedBy;
            this.UpdatedDate = student.UpdatedDate;
        }