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.Framework.Service.../Connected.ServiceModel/Search/SearchEntity.cs

23 lines
562 B

2 years ago
using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
namespace Connected.ServiceModel.Search;
[Persistence(Persistence = ColumnPersistence.InMemory)]
2 years ago
public record SearchEntity<TPrimaryKey> : ConsistentEntity<TPrimaryKey>, ISearchEntity<TPrimaryKey>
where TPrimaryKey : notnull
{
[Ordinal(0)]
public int Author { get; init; }
[Ordinal(1)]
public DateTimeOffset? Created { get; init; }
[Ordinal(2)]
public int Language { get; init; }
[Ordinal(3), Nullable]
public string? Tags { get; init; }
}