WIP /search

This commit is contained in:
2024-03-24 16:53:12 +00:00
parent e229439174
commit aeecc524a4
34 changed files with 1188 additions and 391 deletions

View File

@ -4,6 +4,11 @@ namespace isnd.Data.Catalog
{
public abstract class Permalink
{
public Permalink(string id)
{
Type = GetType().Name;
this.id = id;
}
public Permalink(string id, string type)
{
@ -11,11 +16,6 @@ namespace isnd.Data.Catalog
this.id = id;
}
public Permalink(string id)
{
Type = GetType().Name;
this.id = id;
}
[JsonProperty("@type")]
public virtual string Type { get; set; }
@ -23,7 +23,7 @@ namespace isnd.Data.Catalog
[JsonProperty("@id")]
public string Id { get => id; }
private readonly string id;
protected string id;
public string GetId() { return id; }