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.

23 lines
721 B

4 years ago
3 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. public interface IRecordMoment : IRecord
  8. {
  9. /// <summary>记录的创建时间,值为执行 INSERT INTO 语句时的时间,字段长度不应超过 255 个字符。</summary>
  10. string Created { get; set; }
  11. /// <summary>记录的更新时间,每次对此记录执行 UPDATE 时应更新此值为当前系统时间,字段长度不应超过 255 个字符。</summary>
  12. string Updated { get; set; }
  13. /// <summary>获取 Created 和 Updated 属性的值。</summary>
  14. string GenerateMoment();
  15. }
  16. }