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
559 B
23 lines
559 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Source
|
|
{
|
|
|
|
/// <summary>数据库记录通用字段模型。</summary>
|
|
public interface IRecordStamp : IRecord
|
|
{
|
|
|
|
/// <summary>记录的创建时间,默认为本地时间。</summary>
|
|
long Created { get; set; }
|
|
|
|
/// <summary>记录的更新时间,默认为本地时间。</summary>
|
|
long Updated { get; set; }
|
|
|
|
/// <summary>获取 Created 和 Updated 属性的值。</summary>
|
|
long GenerateStamp();
|
|
|
|
}
|
|
|
|
}
|
|
|