平安校园
 
 
 
 
 
 

28 lines
807 B

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