init
This commit is contained in:
10
DouyinApi.Model/Systems/DataBase/DataBaseReadType.cs
Normal file
10
DouyinApi.Model/Systems/DataBase/DataBaseReadType.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace DouyinApi.Model.Systems.DataBase;
|
||||
|
||||
/// <summary>
|
||||
/// 数据库读取类型
|
||||
/// </summary>
|
||||
public enum DataBaseReadType
|
||||
{
|
||||
Db,
|
||||
Entity
|
||||
}
|
||||
10
DouyinApi.Model/Systems/DataBase/DatabaseOutput.cs
Normal file
10
DouyinApi.Model/Systems/DataBase/DatabaseOutput.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace DouyinApi.Model.Systems.DataBase;
|
||||
|
||||
public class DatabaseOutput
|
||||
{
|
||||
public string ConfigId { get; set; }
|
||||
|
||||
public DbType DbType { get; set; }
|
||||
}
|
||||
36
DouyinApi.Model/Systems/DataBase/DbColumnInfoOutput.cs
Normal file
36
DouyinApi.Model/Systems/DataBase/DbColumnInfoOutput.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
namespace DouyinApi.Model.Systems.DataBase;
|
||||
|
||||
public class DbColumnInfoOutput
|
||||
{
|
||||
public string TableName { get; set; }
|
||||
|
||||
public int TableId { get; set; }
|
||||
|
||||
public string DbColumnName { get; set; }
|
||||
|
||||
public string PropertyName { get; set; }
|
||||
|
||||
public string DataType { get; set; }
|
||||
|
||||
public int Length { get; set; }
|
||||
|
||||
public string ColumnDescription { get; set; }
|
||||
|
||||
public string DefaultValue { get; set; }
|
||||
|
||||
public bool IsNullable { get; set; }
|
||||
|
||||
public bool IsIdentity { get; set; }
|
||||
|
||||
public bool IsPrimarykey { get; set; }
|
||||
|
||||
public object Value { get; set; }
|
||||
|
||||
public int DecimalDigits { get; set; }
|
||||
|
||||
public int Scale { get; set; }
|
||||
|
||||
public bool IsArray { get; set; }
|
||||
|
||||
internal bool IsJson { get; set; }
|
||||
}
|
||||
9
DouyinApi.Model/Systems/DataBase/EditColumnInput.cs
Normal file
9
DouyinApi.Model/Systems/DataBase/EditColumnInput.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace DouyinApi.Model.Systems.DataBase;
|
||||
|
||||
public class EditColumnInput
|
||||
{
|
||||
public string ConfigId { get; set; }
|
||||
public string TableName { get; set; }
|
||||
public string DbColumnName { get; set; }
|
||||
public string ColumnDescription { get; set; }
|
||||
}
|
||||
10
DouyinApi.Model/Systems/DataBase/EditTableInput.cs
Normal file
10
DouyinApi.Model/Systems/DataBase/EditTableInput.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace DouyinApi.Model.Systems.DataBase;
|
||||
|
||||
public class EditTableInput
|
||||
{
|
||||
public string ConfigId { get; set; }
|
||||
|
||||
public string TableName { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user