Files
SzmediTools/Szmedi.RvKits/InfoManager/AFCA/MetroDedicatedProperty.cs
2025-09-16 16:06:41 +08:00

70 lines
1.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Dapper;
using Dapper.Contrib.Extensions;
namespace Szmedi.RvKits.InfoManager.AFCA
{
public class PropertyBase
{
/// <summary>
/// 索引
/// </summary>
[Key]
public int Index { get; set; }
/// <summary>
/// Revit参数组
/// </summary>
public string RevitParamGroup { get; set; }
/// <summary>
/// 参数前缀CM-100
/// </summary>
public string ParamPrefix { get; set; }
/// <summary>
/// 参数名
/// </summary>
public string ParamName { get; set; }
/// <summary>
/// 参数值类型,数值,文本
/// </summary>
public string ParamType { get; set; }
/// <summary>
/// 计量单位
/// </summary>
public string Unit { get; set; }
/// <summary>
/// 信息深度
/// </summary>
public string InfoLevel { get; set; }
/// <summary>
/// 必填
/// </summary>
public int Mandatory { get; set; }
}
/// <summary>
/// 基本属性
/// </summary>
[Table("afca_metro_base_properties")]
public class MetroBaseProperty : PropertyBase
{
}
/// <summary>
/// 专项属性
/// </summary>
[Table("afca_metro_dedicated_properties")]
public class MetroDedicatedProperty : PropertyBase
{
/// <summary>
/// 类别
/// </summary>
public string Categories { get; set; }
/// <summary>
/// 参数表索引
/// </summary>
public string ParamTableIndex { get; set; }
}
}