平安校园
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

38 linhas
820 B

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 系统关系表
  5. ///</summary>
  6. [SugarTable("sys_relation", TableDescription = "系统关系表")]
  7. [Tenant(SqlSugarConst.DB_DEFAULT)]
  8. public class SysRelation : PrimaryKeyEntity
  9. {
  10. /// <summary>
  11. /// 对象ID
  12. ///</summary>
  13. [SugarColumn(ColumnName = "ObjectId", ColumnDescription = "对象ID", IsNullable = false)]
  14. public long ObjectId { get; set; }
  15. /// <summary>
  16. /// 目标ID
  17. ///</summary>
  18. [SugarColumn(ColumnName = "TargetId", ColumnDescription = "目标ID", IsNullable = true)]
  19. public string TargetId { get; set; }
  20. /// <summary>
  21. /// 分类
  22. ///</summary>
  23. [SugarColumn(ColumnName = "Category", ColumnDescription = "分类", Length = 200, IsNullable = false)]
  24. public string Category { get; set; }
  25. }