@@ -21,12 +21,12 @@ public Permission()
2121 /// <summary>
2222 /// 菜单执行Action名
2323 /// </summary>
24- [ SugarColumn ( Length = 50 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
24+ [ SugarColumn ( Length = 50 , IsNullable = true ) ]
2525 public string Code { get ; set ; }
2626 /// <summary>
2727 /// 菜单显示名(如用户页、编辑(按钮)、删除(按钮))
2828 /// </summary>
29- [ SugarColumn ( Length = 50 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
29+ [ SugarColumn ( Length = 50 , IsNullable = true ) ]
3030 public string Name { get ; set ; }
3131 /// <summary>
3232 /// 是否是按钮
@@ -42,7 +42,7 @@ public Permission()
4242 /// <summary>
4343 /// 按钮事件
4444 /// </summary>
45- [ SugarColumn ( IsNullable = true , ColumnDataType = "nvarchar" ) ]
45+ [ SugarColumn ( IsNullable = true ) ]
4646 public string Func { get ; set ; }
4747
4848
@@ -65,12 +65,12 @@ public Permission()
6565 /// <summary>
6666 /// 菜单图标
6767 /// </summary>
68- [ SugarColumn ( Length = 100 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
68+ [ SugarColumn ( Length = 100 , IsNullable = true ) ]
6969 public string Icon { get ; set ; }
7070 /// <summary>
7171 /// 菜单描述
7272 /// </summary>
73- [ SugarColumn ( Length = 100 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
73+ [ SugarColumn ( Length = 100 , IsNullable = true ) ]
7474 public string Description { get ; set ; }
7575 /// <summary>
7676 /// 激活状态
@@ -84,7 +84,7 @@ public Permission()
8484 /// <summary>
8585 /// 创建者
8686 /// </summary>
87- [ SugarColumn ( Length = 50 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
87+ [ SugarColumn ( Length = 50 , IsNullable = true ) ]
8888 public string CreateBy { get ; set ; }
8989 /// <summary>
9090 /// 创建时间
@@ -99,7 +99,7 @@ public Permission()
9999 /// <summary>
100100 /// 修改者
101101 /// </summary>
102- [ SugarColumn ( Length = 50 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
102+ [ SugarColumn ( Length = 50 , IsNullable = true ) ]
103103 public string ModifyBy { get ; set ; }
104104 /// <summary>
105105 /// 修改时间
0 commit comments