feat: 添加webfirst 字段模块

This commit is contained in:
橙子
2023-09-19 23:48:37 +08:00
parent 36b28d83ed
commit 1d499b7052
23 changed files with 1398 additions and 1037 deletions

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Module.WebFirstManager.Enums;
namespace Yi.Framework.Module.WebFirstManager.Dtos.Field
{
public class FieldUpdateInput
{
/// <summary>
/// 字段名称
/// </summary>
public string? Name { get; set; }
public string? Description { get; set; }
public int? OrderNum { get; set; }
public int? Length { get; set; }
public FieldTypeEnum? FieldType { get; set; }
public long? TableId { get; set; }
/// <summary>
/// 是否必填
/// </summary>
public bool? IsRequired { get; set; }
/// <summary>
/// 是否主键
/// </summary>
public bool? IsKey { get; set; }
/// <summary>
/// 是否自增
/// </summary>
public bool? IsAutoAdd { get; set; }
/// <summary>
/// 是否公共
/// </summary>
public bool? IsPublic { get; set; }
}
}