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

18 lines
453 B

2 years ago
using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Containers;
2 years ago
namespace Connected.Common.Notes;
2 years ago
[Persistence(Persistence = ColumnPersistence.InMemory)]
public record NoteSearch : ContainerEntity<long>, INoteSearch
{
[Ordinal(0)]
public int Author { get; init; }
[Ordinal(1), Length(Units.MB)]
public string Text { get; init; } = default!;
[Ordinal(2)]
public DateTimeOffset Created { get; init; }
}