30 lines
No EOL
1.1 KiB
C#
30 lines
No EOL
1.1 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Iceshrimp.Backend.Core.Database.Tables;
|
|
|
|
[Table("__chart__drive")]
|
|
[Index("Date", Name = "IDX_13565815f618a1ff53886c5b28", IsUnique = true)]
|
|
[Index("Date", Name = "UQ_13565815f618a1ff53886c5b28a", IsUnique = true)]
|
|
public class ChartDrive {
|
|
[Key] [Column("id")] public int Id { get; set; }
|
|
|
|
[Column("date")] public int Date { get; set; }
|
|
|
|
[Column("___local_incCount")] public int LocalIncCount { get; set; }
|
|
|
|
[Column("___local_incSize")] public int LocalIncSize { get; set; }
|
|
|
|
[Column("___local_decCount")] public int LocalDecCount { get; set; }
|
|
|
|
[Column("___local_decSize")] public int LocalDecSize { get; set; }
|
|
|
|
[Column("___remote_incCount")] public int RemoteIncCount { get; set; }
|
|
|
|
[Column("___remote_incSize")] public int RemoteIncSize { get; set; }
|
|
|
|
[Column("___remote_decCount")] public int RemoteDecCount { get; set; }
|
|
|
|
[Column("___remote_decSize")] public int RemoteDecSize { get; set; }
|
|
} |