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.

27 lines
654 B

1 year ago
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.Base
{
public interface ITable
{
[Key]
[Description("主键")]
Guid GUID { get; set; }
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Description("自增长编号")]
int UID { get; set; }
[Description("创建人")]
string CreateUser { get; set; }
[Description("创建时间")]
DateTime CreateTime { get; set; }
[Description("备注")]
string Remark { get; set; }
}
}