|
@@ -1,6 +1,5 @@
|
|
|
using System;
|
|
|
using FreeSql.DataAnnotations;
|
|
|
-using System.ComponentModel.DataAnnotations;
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace Admin.Core.Model.Admin
|
|
@@ -15,7 +14,7 @@ namespace Admin.Core.Model.Admin
|
|
|
/// <summary>
|
|
|
/// 名称
|
|
|
/// </summary>
|
|
|
- [MaxLength(50)]
|
|
|
+ [Column(StringLength = 50)]
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
/// <summary>
|