39 lines
No EOL
1.4 KiB
C#
39 lines
No EOL
1.4 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Iceshrimp.Backend.Core.Database.Tables;
|
|
|
|
[Table("__chart_day__federation")]
|
|
[Index("Date", Name = "IDX_617a8fe225a6e701d89e02d2c7", IsUnique = true)]
|
|
[Index("Date", Name = "UQ_617a8fe225a6e701d89e02d2c74", IsUnique = true)]
|
|
public class ChartDayFederation {
|
|
[Key] [Column("id")] public int Id { get; set; }
|
|
|
|
[Column("date")] public int Date { get; set; }
|
|
|
|
[Column("unique_temp___deliveredInstances", TypeName = "character varying[]")]
|
|
public List<string> UniqueTempDeliveredInstances { get; set; } = null!;
|
|
|
|
[Column("___deliveredInstances")] public short DeliveredInstances { get; set; }
|
|
|
|
[Column("unique_temp___inboxInstances", TypeName = "character varying[]")]
|
|
public List<string> UniqueTempInboxInstances { get; set; } = null!;
|
|
|
|
[Column("___inboxInstances")] public short InboxInstances { get; set; }
|
|
|
|
[Column("unique_temp___stalled", TypeName = "character varying[]")]
|
|
public List<string> UniqueTempStalled { get; set; } = null!;
|
|
|
|
[Column("___stalled")] public short Stalled { get; set; }
|
|
|
|
[Column("___sub")] public short Sub { get; set; }
|
|
|
|
[Column("___pub")] public short Pub { get; set; }
|
|
|
|
[Column("___pubsub")] public short Pubsub { get; set; }
|
|
|
|
[Column("___subActive")] public short SubActive { get; set; }
|
|
|
|
[Column("___pubActive")] public short PubActive { get; set; }
|
|
} |