Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

22 linhas
781B

  1. using Campaign_Tracker.Server.ExtensionData;
  2. namespace Campaign_Tracker.Server.Municipalities;
  3. /// <summary>
  4. /// Extension-layer entity that stores municipality account data linked to a legacy jurisdiction.
  5. /// Implements <see cref="ILegacyLinkedRecord"/> so the nightly integrity check can verify
  6. /// the JCode reference is still valid (Story 1.8 AC #4 / NFR13).
  7. /// </summary>
  8. public sealed record MunicipalityProfile(
  9. string ProfileId,
  10. string JCode,
  11. string? DisplayName,
  12. DateTimeOffset CreatedAt,
  13. DateTimeOffset UpdatedAt,
  14. string UpdatedBy) : ILegacyLinkedRecord
  15. {
  16. public string RecordType => "MunicipalityProfile";
  17. public string RecordId => ProfileId;
  18. public LegacyLinkReference LegacyLink => LegacyLinkReference.ForJurisdiction(JCode);
  19. }

Powered by TurnKey Linux.