using System.ComponentModel.DataAnnotations; using BMA.EHR.MetaData.Service.Models; namespace BMA.EHR.Profile.Service.Models.HR { public class ProfileEducation : EntityBase { // [Key] // public int Id { get; set; } // [Required] // public int Order { get; set; } [MaxLength(1000)] public string? Institute { get; set; } [MaxLength(200)] public string? Degree { get; set; } [MaxLength(200)] public string? Field { get; set; } [MaxLength(20)] public string? Gpa { get; set; } [MaxLength(1000)] public string? Country { get; set; } [MaxLength(1000)] public string? Duration { get; set; } [MaxLength(1000)] public string? Other { get; set; } [MaxLength(1000)] public string? FundName { get; set; } public int DurationYear { get; set; } public DateTime? FinishDate { get; set; } public DateTime? StartDate { get; set; } public DateTime? EndDate { get; set; } // public EducationLevel? EducationLevel { get; set; } public string? EducationLevel { get; set; } public Guid? EducationLevelId { get; set; } // public string? Name { get; set; } // public int? Start { get; set; } // public int? End { get; set; } // public string? Education { get; set; } // public string? Major { get; set; } public virtual List ProfileEducationHistorys { get; set; } = new List(); public virtual Profile? Profile { get; set; } public virtual Guid? ProfileId { get; set; } } }