123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- using System;
- using FreeSql.DataAnnotations;
- using System.ComponentModel.DataAnnotations;
- namespace Admin.Core.Model.Admin
- {
-
-
-
- [Table(Name = "ad_api")]
- [Index("uk_api_path", "Path", true)]
- public class ApiEntity : 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(50)]
- public string HttpMethods { get; set; }
-
-
-
- [MaxLength(500)]
- public string Description { get; set; }
-
-
-
- public int Sort { get; set; }
-
-
-
- public bool Enabled { get; set; } = true;
- }
- }
|