Files
raven/server/AyaNova/models/MetricDD.cs
2020-06-01 22:16:52 +00:00

32 lines
721 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models
{
/// <summary>
/// Metric for ONE DAY interval stats
/// </summary>
public class MetricDD
{
[Required]
[Key]
public DateTime t { get; set; }
public long AttachmentFileSize { get; set; }
public long AttachmentFileCount { get; set; }
public long AttachmentFilesAvailableSpace { get; set; }
public long UtilityFileSize { get; set; }
public long UtilityFileCount { get; set; }
public long UtilityFilesAvailableSpace { get; set; }
//ef core requires this
public MetricDD() { t = System.DateTime.UtcNow; }
}//eoc
}//eons