平安校园
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

SysRelation.cs 820 B

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