-
-
Notifications
You must be signed in to change notification settings - Fork 382
Expand file tree
/
Copy pathAttributeItem.cs
More file actions
50 lines (42 loc) · 1.27 KB
/
AttributeItem.cs
File metadata and controls
50 lines (42 loc) · 1.27 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License
// See the LICENSE file in the project root for more information.
// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone
using System.ComponentModel;
namespace BootstrapBlazor.Server.Data;
/// <summary>
/// 属性说明类
/// </summary>
public class AttributeItem
{
/// <summary>
/// 获得/设置 参数
/// </summary>
[DisplayName("参数")]
public string Name { get; set; } = "";
/// <summary>
/// 获得/设置 说明
/// </summary>
[DisplayName("说明")]
public string Description { get; set; } = "";
/// <summary>
/// 获得/设置 类型
/// </summary>
[DisplayName("类型")]
public string Type { get; set; } = "";
/// <summary>
/// 获得/设置 可选值
/// </summary>
[DisplayName("可选值")]
public string ValueList { get; set; } = "";
/// <summary>
/// 获得/设置 默认值
/// </summary>
[DisplayName("默认值")]
public string DefaultValue { get; set; } = "";
/// <summary>
/// 获得/设置 版本
/// </summary>
[DisplayName("版本")]
public string Version { get; set; } = "";
}