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.

26 lines
834 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Apewer.Source
  5. {
  6. /// <summary>数据库记录通用字段模型。</summary>
  7. /// <remarks>带有 Independent 特性的模型不包含此接口声明的属性。</remarks>
  8. public interface IRecord
  9. {
  10. /// <summary>记录唯一键,一般使用 GUID 的字符串形式,字段长度不应超过 255 个字符。</summary>
  11. /// <remarks>带有 Independent 特性的模型不包含此属性。</remarks>
  12. string Key { get; set; }
  13. /// <summary>记录的标记,区分记录的状态。</summary>
  14. /// <remarks>带有 Independent 特性的模型不包含此属性。</remarks>
  15. long Flag { get; set; }
  16. /// <summary>重置 Key 属性的值。</summary>
  17. void ResetKey();
  18. }
  19. }