Files
tnb.server/system/Tnb.Systems.Entitys/Model/System/DataBase/DbTableModel.cs
2023-03-13 15:00:34 +08:00

56 lines
1.0 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 JNPF.DependencyInjection;
namespace JNPF.Systems.Entitys.Model.DataBase;
/// <summary>
/// 数据库表模型.
/// </summary>
[SuppressSniffer]
public class DbTableModel
{
/// <summary>
/// 标识.
/// </summary>
public string Id { get; set; }
/// <summary>
/// 表名.
/// </summary>
public string table { get; set; }
/// <summary>
/// 表说明.
/// </summary>
public string tableName { get; set; }
/// <summary>
/// 大小.
/// </summary>
public string size { get; set; }
/// <summary>
/// 总数.
/// </summary>
public int? sum { get; set; }
/// <summary>
/// 说明.
/// </summary>
public string description
{
get
{
return this.table + "" + this.tableName + "";
}
}
/// <summary>
/// 主键.
/// </summary>
public string primaryKey { get; set; }
/// <summary>
/// 数据源主键.
/// </summary>
public string dataSourceId { get; set; }
}