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.
29 lines
946 B
29 lines
946 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Source
|
|
{
|
|
|
|
/// <summary>数据库记录通用字段模型。</summary>
|
|
public interface IRecord
|
|
{
|
|
|
|
/// <summary>记录的创建时间,值为执行 INSERT INTO 语句时的时间,字段长度不应超过 255 个字符。</summary>
|
|
string Created { get; set; }
|
|
|
|
/// <summary>记录的更新时间,每次对此记录执行 UPDATE 时应更新此值为当前系统时间,字段长度不应超过 255 个字符。</summary>
|
|
string Updated { get; set; }
|
|
|
|
/// <summary>记录的标记,区分记录的状态。</summary>
|
|
long Flag { get; set; }
|
|
|
|
/// <summary>备注。</summary>
|
|
string Remark { get; set; }
|
|
|
|
/// <summary>记录唯一键,一般使用 GUID 的字符串形式,字段长度不应超过 255 个字符。</summary>
|
|
string Key { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|