Initial commit

Initial commit til Git.
V2 er deployed
This commit is contained in:
2026-06-13 17:31:50 +02:00
parent 9fcd2b145e
commit 41e23b6184
375 changed files with 15956 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
namespace Pos.Api.Database.Models;
public partial class Employee
{
public int Id { get; set; }
public string Name { get; set; }
public sbyte IsArchived { get; set; }
}

View File

@@ -0,0 +1,11 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
namespace Pos.Api.Database.Models;
public partial class LastUpdate
{
public DateTime? DateTime { get; set; }
}

View File

@@ -0,0 +1,17 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
namespace Pos.Api.Database.Models;
public partial class Payment
{
public int Id { get; set; }
public int SaleId { get; set; }
public decimal Amount { get; set; }
public string Type { get; set; }
}

View File

@@ -0,0 +1,25 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
namespace Pos.Api.Database.Models;
public partial class Product
{
public int Id { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
public string Description { get; set; }
public int ProductGroupId { get; set; }
public sbyte IsArchived { get; set; }
public int Index { get; set; }
public virtual Productgroup IdNavigation { get; set; }
}

View File

@@ -0,0 +1,19 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
namespace Pos.Api.Database.Models;
public partial class Productgroup
{
public int Id { get; set; }
public string Name { get; set; }
public sbyte IsArchived { get; set; }
public int Index { get; set; }
public virtual Product Product { get; set; }
}

View File

@@ -0,0 +1,15 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
namespace Pos.Api.Database.Models;
public partial class Sale
{
public int Id { get; set; }
public DateTime Time { get; set; }
public int EmployeeId { get; set; }
}

View File

@@ -0,0 +1,21 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
namespace Pos.Api.Database.Models;
public partial class SaleLine
{
public int Id { get; set; }
public int SaleId { get; set; }
public string Product { get; set; }
public short Pieces { get; set; }
public decimal Price { get; set; }
public decimal Total { get; set; }
}