MasstransferExporter/MasstransferCommon/Model/Entity/Entity.cs

15 lines
368 B
C#
Raw Normal View History

2024-07-08 05:53:40 +00:00
using SQLite;
namespace MasstransferCommon.Model.Entity;
/// <summary>
/// 数据库实体的父类
/// </summary>
public class Entity
{
[PrimaryKey] public string? Id { get; set; }
[Column("create_time")] public DateTime CreateTime { get; set; } = DateTime.Now;
[Column("update_time")] public DateTime UpdateTime { get; set; } = DateTime.Now;
}