82 lines
2.8 KiB
C#
82 lines
2.8 KiB
C#
using System.Collections.Generic;
|
|
using ARW.Model.System.Generate;
|
|
|
|
namespace ARW.Model.System.Dto
|
|
{
|
|
public class GenTableDto
|
|
{
|
|
public int TableId { get; set; }
|
|
public string TableName { get; set; }
|
|
public string TableComment { get; set; }
|
|
public string SubTableName { get; set; }
|
|
public string SubTableFkName { get; set; }
|
|
public string ClassName { get; set; }
|
|
public string TplCategory { get; set; }
|
|
public string BaseNameSpace { get; set; }
|
|
public string ModuleName { get; set; }
|
|
public string BusinessName { get; set; }
|
|
public string FunctionName { get; set; }
|
|
public string FunctionAuthor { get; set; }
|
|
public string GenType { get; set; }
|
|
public string GenPath { get; set; }
|
|
//public string PermissionPrefix { get; set; }
|
|
public string Remark { get; set; }
|
|
/// <summary>
|
|
/// 额外参数
|
|
/// </summary>
|
|
public Options Params { get; set; }
|
|
public List<GenTableColumnDto> Columns { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 额外参数
|
|
/// ****注意里面参数统一首字母小写*****
|
|
/// </summary>
|
|
public class Params
|
|
{
|
|
public string TreeCode { get; set; }
|
|
public string TreeName { get; set; }
|
|
public string TreeParentCode { get; set; }
|
|
public int? ParentMenuId { get; set; }
|
|
public string SortField { get; set; }
|
|
public string SortType { get; set; }
|
|
/// <summary>
|
|
/// 额外参数字符串
|
|
/// </summary>
|
|
public string CheckedBtn { get; set; }
|
|
public string PermissionPrefix { get; set; }
|
|
}
|
|
public class GenTableColumnDto
|
|
{
|
|
public int ColumnId { get; set; }
|
|
public int TableId { get; set; }
|
|
public string ColumnComment { get; set; }
|
|
public string CsharpType { get; set; }
|
|
public string CsharpField { get; set; }
|
|
public bool IsInsert { get; set; }
|
|
public bool IsEdit { get; set; }
|
|
public bool IsList { get; set; }
|
|
public bool IsQuery { get; set; }
|
|
public bool IsSort { get; set; }
|
|
public bool IsRequired { get; set; }
|
|
/// <summary>
|
|
/// 显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
|
|
/// </summary>
|
|
public string HtmlType { get; set; }
|
|
/// <summary>
|
|
/// 查询类型(等于、不等于、大于、小于、范围)
|
|
/// </summary>
|
|
public string QueryType { get; set; } = "EQ";
|
|
public int Sort { get; set; }
|
|
/// <summary>
|
|
/// 字典类型
|
|
/// </summary>
|
|
public string DictType { get; set; }
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string Remark { get; set; }
|
|
}
|
|
|
|
}
|