This commit is contained in:
cjd
2025-11-04 21:09:16 +08:00
parent 8260e293c7
commit bb90a020dc
592 changed files with 61749 additions and 27 deletions

View File

@@ -0,0 +1,10 @@
namespace DouyinApi.Model.Systems.DataBase;
/// <summary>
/// 数据库读取类型
/// </summary>
public enum DataBaseReadType
{
Db,
Entity
}

View 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; }
}

View 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; }
}

View 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; }
}

View 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; }
}