1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OTSModelSharp.DTLBase
- {
- [Serializable]
- public class TableModel
- {
- public TableModel()
- {
- columns = new List<ColumnDefine>();
- }
- public string TableName { set; get; }
- public List<ColumnDefine> columns { set; get; }
-
- }
- [Serializable]
- public class ColumnDefine
- {
-
- public string ColumName { set; get; }
- public ColumnType ColumType { set; get; }
- public bool IsPrimarykey { set; get; }
- }
- }
|