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.
18 lines
443 B
18 lines
443 B
using Connected.Annotations;
|
|
using Connected.Entities.Annotations;
|
|
using Connected.Entities.Containers;
|
|
|
|
namespace Common.Notes;
|
|
[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; }
|
|
}
|