12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using FreeSql.DataAnnotations;
- using System.ComponentModel.DataAnnotations;
- namespace Admin.Core.Model.Admin
- {
-
-
-
- [Table(Name = "ad_dictionary")]
- [Index("uk_role_parentid_name", "ParentId,Name", true)]
- public class DictionaryEntity: EntityBase
- {
-
-
-
- public long ParentId { get; set; }
-
-
-
- [MaxLength(50)]
- public string Name { get; set; }
-
-
-
- [MaxLength(50)]
- public string Code { get; set; }
-
-
-
- [MaxLength(50)]
- public string Value { get; set; }
-
-
-
- [MaxLength(4000)]
- public string Description { get; set; }
-
-
-
- public bool Enabled { get; set; } = true;
-
-
-
- public int Sort { get; set; }
- }
- }
|