17 lines
433 B
C#
17 lines
433 B
C#
|
|
namespace Erp.SqlQueryManager.Application.Contracts;
|
||
|
|
|
||
|
|
public class DatabaseTableDto
|
||
|
|
{
|
||
|
|
public string SchemaName { get; set; }
|
||
|
|
public string TableName { get; set; }
|
||
|
|
public string FullName => $"{SchemaName}.{TableName}";
|
||
|
|
}
|
||
|
|
|
||
|
|
public class DatabaseColumnDto
|
||
|
|
{
|
||
|
|
public string ColumnName { get; set; }
|
||
|
|
public string DataType { get; set; }
|
||
|
|
public bool IsNullable { get; set; }
|
||
|
|
public int? MaxLength { get; set; }
|
||
|
|
}
|