Blame view

Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain/Entities/ConfigAggregateRoot.cs 1.71 KB
515fceeb   “wangming”   框架初始化
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
58
  using SqlSugar;
  using Volo.Abp;
  using Volo.Abp.Auditing;
  using Volo.Abp.Domain.Entities;
  using Yi.Framework.Core.Data;
  
  namespace Yi.Framework.Rbac.Domain.Entities
  {
      /// <summary>
      /// 配置表
      /// </summary>
      [SugarTable("Config")]
      public class ConfigAggregateRoot : AggregateRoot<Guid>, IAuditedObject, IOrderNum, ISoftDelete
      {
          [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
          public override Guid Id { get; protected set; }
          /// <summary>
          /// 配置名称 
          ///</summary>
          [SugarColumn(ColumnName = "ConfigName")]
          public string ConfigName { get; set; } = string.Empty;
          /// <summary>
          /// 配置键 
          ///</summary>
          [SugarColumn(ColumnName = "ConfigKey")]
          public string ConfigKey { get; set; } = string.Empty;
          /// <summary>
          /// 配置值 
          ///</summary>
          [SugarColumn(ColumnName = "ConfigValue")]
          public string ConfigValue { get; set; } = string.Empty;
          /// <summary>
          /// 配置类别 
          ///</summary>
          [SugarColumn(ColumnName = "ConfigType")]
          public string? ConfigType { get; set; }
  
          /// <summary>
          /// 排序字段 
          ///</summary>
          [SugarColumn(ColumnName = "OrderNum")]
          public int OrderNum { get; set; }
          /// <summary>
          /// 描述 
          ///</summary>
          [SugarColumn(ColumnName = "Remark")]
          public string? Remark { get; set; }
          public bool IsDeleted { get; set; }
  
          public DateTime CreationTime { get; set; }
  
          public Guid? CreatorId { get; set; }
  
          public Guid? LastModifierId { get; set; }
  
          public DateTime? LastModificationTime { get; set; }
      }
  }