using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.App
{
    public class TableInfo
    {

        public TableInfo() { }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>

        public string YuanName { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 字段长度
        /// </summary>
   /*     public int Length { get; set; }
        /// <summary>
        /// 是否为空
        /// </summary>
        public bool IsNull { get; set; }*/
        /// <summary>
        /// 注释
        /// </summary>
        public string Explanation { get; set; }

        public override string ToString()
        {
            return $"{Name},{Type},{Explanation}";
        }
    }
}
