App name refactor
Some checks failed
Build Bimix / Build WebAPI and WebUI (push) Failing after 12s

This commit is contained in:
Michał Zieliński
2025-10-11 11:33:46 +02:00
parent b4edaf007e
commit 6d2c46d971
88 changed files with 437 additions and 419 deletions

View File

@@ -0,0 +1,8 @@
namespace BimAI.Domain.Entities;
public abstract class BaseEntity
{
public Guid Id { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
}

View File

@@ -0,0 +1,9 @@
namespace BimAI.Domain.Entities;
public class Product : BaseEntity
{
public required string Name { get; set; }
public string? Code { get; set; }
public string? Ean { get; set; }
public string? StockAddresses { get; set; }
}

View File

@@ -0,0 +1,7 @@
namespace BimAI.Domain.Entities;
public class SyncState
{
public required string Entity { get; init; }
public required long LastSynced { get; set; } // UnixTimestamp
}

View File

@@ -0,0 +1,10 @@
namespace BimAI.Domain.Entities;
public class User : BaseEntity
{
public string GoogleId { get; set; } = default!;
public string Email { get; set; } = default!;
public string FullName { get; set; } = default!;
public bool IsActive { get; set; } = false;
public DateTime? LastLoginAt { get; set; }
}