namespace Civiti.Domain.Entities;
///
/// Represents a predefined government authority that can be contacted about civic issues
///
public class Authority
{
public Guid Id { get; set; }
///
/// Official name of the authority
///
public string Name { get; set; } = string.Empty;
///
/// Official contact email for the authority
///
public string Email { get; set; } = string.Empty;
///
/// Romanian county (Județ) where this authority operates (e.g., "București", "Cluj")
///
public string County { get; set; } = string.Empty;
///
/// City where this authority operates (e.g., "București", "Cluj-Napoca")
///
public string City { get; set; } = string.Empty;
///
/// District/Sector within city (e.g., "Sector 1"). Null for city-wide authorities.
///
public string? District { get; set; }
///
/// Whether this authority is currently active and available for selection
///
public bool IsActive { get; set; } = true;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
// Navigation properties
public List IssueAuthorities { get; set; } = [];
}