平安校园
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

38 rindas
831 B

  1. //
  2. namespace SafeCampus.Core.Entity.System;
  3. /// <summary>
  4. /// C端用户关系
  5. /// </summary>
  6. [SugarTable("client_relation", TableDescription = "关系")]
  7. [Tenant(SqlSugarConst.DB_DEFAULT)]
  8. public class ClientRelation : 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 = true)]
  24. public string Category { get; set; }
  25. }