平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
825 B

  1. namespace SafeCampus.System;
  2. /// <summary>
  3. /// 系统关系表
  4. ///</summary>
  5. [SugarTable("sys_relation", TableDescription = "系统关系表")]
  6. [Tenant(SqlSugarConst.DB_DEFAULT)]
  7. [IgnoreInitTable]
  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. }