-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCountyItem.cs
More file actions
24 lines (21 loc) · 806 Bytes
/
CountyItem.cs
File metadata and controls
24 lines (21 loc) · 806 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
// 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">County item</para>
/// </summary>
public readonly record struct CountyItem
{
/// <summary>
/// <para lang="zh">获得 城市编码</para>
/// <para lang="en">Gets the city code</para>
/// </summary>
public string Code { get; init; }
/// <summary>
/// <para lang="zh">获得 城市名称</para>
/// <para lang="en">Gets the city name</para>
/// </summary>
public string Name { get; init; }
}