@@ -33,37 +33,37 @@ public Module()
3333 /// <summary>
3434 /// 名称
3535 /// </summary>
36- [ SugarColumn ( Length = 50 , IsNullable = true ) ]
36+ [ SugarColumn ( Length = 50 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
3737 public string Name { get ; set ; }
3838 /// <summary>
3939 /// 菜单链接地址
4040 /// </summary>
41- [ SugarColumn ( Length = 100 , IsNullable = true ) ]
41+ [ SugarColumn ( Length = 100 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
4242 public string LinkUrl { get ; set ; }
4343 /// <summary>
4444 /// 区域名称
4545 /// </summary>
46- [ SugarColumn ( Length = int . MaxValue , IsNullable = true ) ]
46+ [ SugarColumn ( Length = int . MaxValue , IsNullable = true , ColumnDataType = "nvarchar" ) ]
4747 public string Area { get ; set ; }
4848 /// <summary>
4949 /// 控制器名称
5050 /// </summary>
51- [ SugarColumn ( Length = int . MaxValue , IsNullable = true ) ]
51+ [ SugarColumn ( Length = int . MaxValue , IsNullable = true , ColumnDataType = "nvarchar" ) ]
5252 public string Controller { get ; set ; }
5353 /// <summary>
5454 /// Action名称
5555 /// </summary>
56- [ SugarColumn ( Length = int . MaxValue , IsNullable = true ) ]
56+ [ SugarColumn ( Length = int . MaxValue , IsNullable = true , ColumnDataType = "nvarchar" ) ]
5757 public string Action { get ; set ; }
5858 /// <summary>
5959 /// 图标
6060 /// </summary>
61- [ SugarColumn ( Length = 100 , IsNullable = true ) ]
61+ [ SugarColumn ( Length = 100 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
6262 public string Icon { get ; set ; }
6363 /// <summary>
6464 /// 菜单编号
6565 /// </summary>
66- [ SugarColumn ( Length = 10 , IsNullable = true ) ]
66+ [ SugarColumn ( Length = 10 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
6767 public string Code { get ; set ; }
6868 /// <summary>
6969 /// 排序
@@ -72,7 +72,7 @@ public Module()
7272 /// <summary>
7373 /// /描述
7474 /// </summary>
75- [ SugarColumn ( Length = 100 , IsNullable = true ) ]
75+ [ SugarColumn ( Length = 100 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
7676 public string Description { get ; set ; }
7777 /// <summary>
7878 /// 是否是右侧菜单
@@ -90,7 +90,7 @@ public Module()
9090 /// <summary>
9191 /// 创建者
9292 /// </summary>
93- [ SugarColumn ( Length = 50 , IsNullable = true ) ]
93+ [ SugarColumn ( Length = 50 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
9494 public string CreateBy { get ; set ; }
9595 /// <summary>
9696 /// 创建时间
@@ -105,7 +105,7 @@ public Module()
105105 /// <summary>
106106 /// 修改者
107107 /// </summary>
108- [ SugarColumn ( Length = 100 , IsNullable = true ) ]
108+ [ SugarColumn ( Length = 100 , IsNullable = true , ColumnDataType = "nvarchar" ) ]
109109 public string ModifyBy { get ; set ; }
110110 /// <summary>
111111 /// 修改时间
0 commit comments