DBCHM/DocTools/Dtos/TableDto.cs

46 lines
1010 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace DocTools.Dtos
{
/// <summary>
/// 数据库表dto
/// </summary>
[Serializable]
public class TableDto
{
/// <summary>
/// 序号
/// </summary>
[Display(Name = "序号")]
public string TableOrder { get; set; }
/// <summary>
/// 表名
/// </summary>
[Display(Name = "表名")]
public string TableName { get; set; }
/// <summary>
/// 注释
/// </summary>
[Display(Name = "表说明")]
public string Comment { get; set; }
/// <summary>
/// 数据库类型
/// </summary>
[Display(Name = "数据库类型")]
public string DBType { get; set; }
/// <summary>
/// 表格列集合
/// </summary>
[Display(Name = "列数据")]
public List<ColumnDto> Columns { get; set; }
}
}