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
23 lines
721 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Source
|
|
{
|
|
|
|
/// <summary>数据库记录通用字段模型。</summary>
|
|
public interface IRecordMoment : IRecord
|
|
{
|
|
|
|
/// <summary>记录的创建时间,值为执行 INSERT INTO 语句时的时间,字段长度不应超过 255 个字符。</summary>
|
|
string Created { get; set; }
|
|
|
|
/// <summary>记录的更新时间,每次对此记录执行 UPDATE 时应更新此值为当前系统时间,字段长度不应超过 255 个字符。</summary>
|
|
string Updated { get; set; }
|
|
|
|
/// <summary>获取 Created 和 Updated 属性的值。</summary>
|
|
string GenerateMoment();
|
|
|
|
}
|
|
|
|
}
|