WIP: DataSets Module

This commit is contained in:
2022-12-11 23:40:16 +01:00
parent d69d571393
commit 120abcaf1d
38 changed files with 1123 additions and 35 deletions

25
WebAPI/Models/DataSet.cs Normal file
View File

@@ -0,0 +1,25 @@
using System.ComponentModel.DataAnnotations;
namespace WebAPI.Models
{
public class DataSet
{
#region Properties
[Key]
public Guid Id { get; set; }
[Required]
public string? Number { get; set; }
public string? Name { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime ModifiedAt { get; set; }
public bool IsDeleted { get; set; }
#endregion
#region Relations
public ICollection<DataRow>? DataRows { get; set; }
public Guid CreatedById { get; set; }
public User? CreatedBy { get; set; }
public Guid ModifiedById { get; set; }
public User? ModifiedBy { get; set; }
#endregion
}
}