Files
DiunaBI/WebAPI/Models/DataSet.cs

26 lines
748 B
C#

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
}
}