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.
Connected.Common/Common.Notes/Note.cs

18 lines
422 B

using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Containers;
namespace Common.Notes;
[Table(Schema = Constants.CommonSchema)]
public sealed record Note : ContainerEntity<long>, INote
{
public const string EntityKey = $"{Constants.CommonSchema}.{nameof(Note)}";
[Ordinal(0)]
public int Author { get; init; }
[Ordinal(1)]
public DateTimeOffset Created { get; init; }
}