Files
DiunaBI/WebAPI/Models/Record.cs
Michał Zieliński e8c64059fb Record.Values
2023-08-21 13:00:05 +02:00

64 lines
2.3 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace WebAPI.Models
{
public class Record
{
#region Properties
[Key]
public Guid Id { get; set; }
[Required]
public string? Code { get; set; }
public float? Value1 { get; set; }
public float? Value2 { get; set; }
public float? Value3 { get; set; }
public float? Value4 { get; set; }
public float? Value5 { get; set; }
public float? Value6 { get; set; }
public float? Value7 { get; set; }
public float? Value8 { get; set; }
public float? Value9 { get; set; }
public float? Value10 { get; set; }
public float? Value11 { get; set; }
public float? Value12 { get; set; }
public float? Value13 { get; set; }
public float? Value14 { get; set; }
public float? Value15 { get; set; }
public float? Value16 { get; set; }
public float? Value17 { get; set; }
public float? Value18 { get; set; }
public float? Value19 { get; set; }
public float? Value20 { get; set; }
public float? Value21 { get; set; }
public float? Value22 { get; set; }
public float? Value23 { get; set; }
public float? Value24 { get; set; }
public float? Value25 { get; set; }
public float? Value26 { get; set; }
public float? Value27 { get; set; }
public float? Value28 { get; set; }
public float? Value29 { get; set; }
public float? Value30 { get; set; }
public float? Value31 { get; set; }
//Description fields
public string? Desc1 { get; set; }
public string? Desc2 { get; set; }
public string? Desc3 { get; set; }
public string? Desc4 { get; set; }
public string? Desc5 { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime ModifiedAt { get; set; }
public bool IsDeleted { get; set; }
#endregion
#region Relations
[Required]
public Guid CreatedById { get; set; }
public User? CreatedBy { get; set; }
[Required]
public Guid ModifiedById { get; set; }
public User? ModifiedBy { get; set; }
public Guid LayerId { get; set; }
#endregion
}
}