namespace Health.Domain.Entities; /// /// 医生扩展信息 /// public sealed class DoctorProfile { public Guid Id { get; set; } public Guid UserId { get; set; } public Guid? DoctorId { get; set; } // FK → Doctor 实体 public string? Name { get; set; } public Doctor? Doctor { get; set; } // 导航属性 public string? Title { get; set; } public string? Department { get; set; } public string? Hospital { get; set; } public string? AvatarUrl { get; set; } public bool IsOnline { get; set; } public bool IsActive { get; set; } = true; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime UpdatedAt { get; set; } = DateTime.UtcNow; public User User { get; set; } = null!; }