33 lines
908 B
C#
33 lines
908 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Tornado3_2026Election.Domain;
|
|
|
|
public sealed class CareerPromiseCatalog
|
|
{
|
|
public string Version { get; init; } = "1";
|
|
|
|
public string UpdatedAt { get; init; } = string.Empty;
|
|
|
|
public IReadOnlyList<CareerPromiseEntry> Entries { get; init; } = Array.Empty<CareerPromiseEntry>();
|
|
}
|
|
|
|
public sealed class CareerPromiseEntry
|
|
{
|
|
public string StationId { get; init; } = string.Empty;
|
|
|
|
public string ElectionType { get; init; } = string.Empty;
|
|
|
|
public string DistrictCode { get; init; } = string.Empty;
|
|
|
|
public string DistrictName { get; init; } = string.Empty;
|
|
|
|
public string CandidateCode { get; init; } = string.Empty;
|
|
|
|
public string CandidateName { get; init; } = string.Empty;
|
|
|
|
public string Party { get; init; } = string.Empty;
|
|
|
|
public IReadOnlyList<string> Promises { get; init; } = Array.Empty<string>();
|
|
}
|