-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathProvinceItem.cs
More file actions
30 lines (26 loc) · 1009 Bytes
/
ProvinceItem.cs
File metadata and controls
30 lines (26 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
namespace BootstrapBlazor.Components;
/// <summary>
/// <para lang="zh">省份项</para>
/// <para lang="en">Province item</para>
/// </summary>
readonly record struct ProvinceItem
{
/// <summary>
/// <para lang="zh">获得 名称</para>
/// <para lang="en">Gets the name</para>
/// </summary>
public string Name { get; init; }
/// <summary>
/// <para lang="zh">获得 拼音集合</para>
/// <para lang="en">Gets the pinyin collection</para>
/// </summary>
public HashSet<string> PinYin { get; init; }
/// <summary>
/// <para lang="zh">获得 城市集合</para>
/// <para lang="en">Gets the cities collection</para>
/// </summary>
public HashSet<CityItem> Cities { get; init; }
}