1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using FreeSql.DataAnnotations;
- using System.ComponentModel.DataAnnotations;
- namespace Admin.Core.Model.Admin
- {
-
-
-
- [Table(Name = "ad_view")]
- [Index("uk_view_path", "Path", true)]
- public class ViewEntity : EntityBase
- {
-
-
-
- public long? ParentId { get; set; }
-
-
-
- [MaxLength(50)]
- public string Name { get; set; }
-
-
-
- [MaxLength(500)]
- public string Label { get; set; }
-
-
-
- [MaxLength(500)]
- public string Path { get; set; }
-
-
-
- [MaxLength(500)]
- public string Description { get; set; }
-
-
-
- public bool Enabled { get; set; } = true;
-
-
-
- public int Sort { get; set; }
- }
- }
|