diff --git a/Api/Dilon.Core/Entity/SysMenu.cs b/Api/Dilon.Core/Entity/SysMenu.cs index 6a2516f..bb91f27 100644 --- a/Api/Dilon.Core/Entity/SysMenu.cs +++ b/Api/Dilon.Core/Entity/SysMenu.cs @@ -15,6 +15,7 @@ namespace Dilon.Core /// 父Id /// [Comment("父Id")] + [Column("父Id", TypeName = "varchar(36)")] public long Pid { get; set; } /// @@ -81,7 +82,8 @@ namespace Dilon.Core /// 是否可见(Y-是,N-否) /// [Comment("是否可见")] - public string Visible { get; set; } = "Y"; + [Column("是否可见", TypeName = "bit")] + public bool Visible { get; set; } = true; /// /// 内链地址