Files
DiunaBI/src/Backend/DiunaBI.Domain/Entities/Layer.cs
Michał Zieliński c6a777c245
All checks were successful
Build Docker Images / test (push) Successful in 1m20s
Build Docker Images / build-and-push (push) Successful in 1m38s
New lines fixes
2025-11-18 20:38:35 +01:00

34 lines
960 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace DiunaBI.Domain.Entities;
public enum LayerType
{
Import,
Processed,
Administration,
Dictionary,
}
public class Layer
{
#region Properties
public Guid Id { get; init; }
public int Number { get; init; }
public string? Name { get; set; }
public LayerType Type { get; init; }
public DateTime CreatedAt { get; set; }
public DateTime ModifiedAt { get; set; }
public bool IsDeleted { get; init; } = false;
public bool IsCancelled { get; init; } = false;
#endregion
#region Relations
public ICollection<Record>? Records { get; init; }
public Guid CreatedById { get; set; }
public User? CreatedBy { get; init; }
public Guid ModifiedById { get; set; }
public User? ModifiedBy { get; init; }
public Guid? ParentId { get; init; }
#endregion
}