Blame view

美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application/Services/DbModels/MenuDbEntity.cs 1.25 KB
0268b0d0   李曜臣   菜单权限模块实现
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
  using SqlSugar;
  
  namespace FoodLabeling.Application.Services.DbModels;
  
  /// <summary>
  /// menu 表映射(兼容数字/字符串类型的 IdParentId
  /// </summary>
  [SugarTable("menu")]
  public class MenuDbEntity
  {
      [SugarColumn(IsPrimaryKey = true)]
      public string Id { get; set; } = string.Empty;
  
      public bool IsDeleted { get; set; }
  
      public DateTime CreationTime { get; set; }
  
      public string? CreatorId { get; set; }
  
      public string? LastModifierId { get; set; }
  
      public DateTime? LastModificationTime { get; set; }
  
      public int OrderNum { get; set; }
  
      public bool State { get; set; }
  
      public string MenuName { get; set; } = string.Empty;
  
      public string? RouterName { get; set; }
  
      public int MenuType { get; set; }
  
      public string? PermissionCode { get; set; }
  
      public string ParentId { get; set; } = "0";
  
      public string? MenuIcon { get; set; }
  
      public string? Router { get; set; }
  
      public bool IsLink { get; set; }
  
      public bool IsCache { get; set; }
  
      public bool IsShow { get; set; }
  
      public string? Remark { get; set; }
  
      public string? Component { get; set; }
  
      public int MenuSource { get; set; }
  
      public string? Query { get; set; }
  
      public string? ConcurrencyStamp { get; set; }
  }