using System; using System.ComponentModel.DataAnnotations; using LitJson; using Model; using Model.Base; using static System.Runtime.InteropServices.JavaScript.JSType; namespace Dto.Admin { /// /// 添加 /// public class AddDatabaseFieldDto { /// /// ID /// public int id { get; set; } /// /// 数据库 /// public int databaseId { get; set; } /// /// 数据表 /// public int tableId { get; set; } /// /// 选项卡 /// public string tabId { get; set; } /// /// 字段标题 /// public string? fieldTitle { get; set; } /// /// 字段名 /// public string? fieldName { get; set; } /// /// 字段类型 /// public string? fieldType { get; set; } /// /// 字段长度 /// public string? fieldLength { get; set; } /// /// 字段默认值 /// public string? fieldDefaultValue { get; set; } /// /// 字段说明 /// public string? fieldDetail { get; set; } /// /// 编辑类型 /// public string? editType { get; set; } /// /// 验证属性 /// public string? validateAttribute { get; set; } /// /// 主键 /// public bool primaryKey { get; set; } /// /// 自动增长 /// public bool autoIncrement { get; set; } /// /// 分表字段 /// public bool splitFlag { get; set; } /// /// 列表显示 /// public bool showList { get; set; } /// /// 查询条件 /// public bool showQuery { get; set; } /// /// 是否编辑 /// public bool showEdit { get; set; } /// /// 检查重复 /// public bool checkRepeat { get; set; } /// /// 导出标记 /// public bool exportFlag { get; set; } /// /// 导入标记 /// public bool importFlag { get; set; } /// /// 列表编辑 /// public bool listEditFlag { get; set; } /// /// 列表编辑提示文字 /// public string? listEditPlaceholder { get; set; } /// /// 统计条件字段 /// public bool statCondition { get; set; } /// /// 统计数据字段 /// public bool statData { get; set; } /// /// 关联数据表 /// public int linkTableId { get; set; } /// /// 关联数据字段 /// public int linkFieldId { get; set; } } }