This commit is contained in:
33
server/models/MetricDD.cs
Normal file
33
server/models/MetricDD.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Sockeye.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; }
|
||||
|
||||
public long DBTotalSize { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
//ef core requires this
|
||||
public MetricDD() { t = System.DateTime.UtcNow; }
|
||||
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
Reference in New Issue
Block a user