Initial commit
Initial commit til Git. V2 er deployed
This commit is contained in:
15
PointOfSale/Pos.Api/Pos.Api.Database/Models/Employee.cs
Normal file
15
PointOfSale/Pos.Api/Pos.Api.Database/Models/Employee.cs
Normal 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; }
|
||||
}
|
||||
11
PointOfSale/Pos.Api/Pos.Api.Database/Models/LastUpdate.cs
Normal file
11
PointOfSale/Pos.Api/Pos.Api.Database/Models/LastUpdate.cs
Normal 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; }
|
||||
}
|
||||
17
PointOfSale/Pos.Api/Pos.Api.Database/Models/Payment.cs
Normal file
17
PointOfSale/Pos.Api/Pos.Api.Database/Models/Payment.cs
Normal 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; }
|
||||
}
|
||||
25
PointOfSale/Pos.Api/Pos.Api.Database/Models/Product.cs
Normal file
25
PointOfSale/Pos.Api/Pos.Api.Database/Models/Product.cs
Normal 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; }
|
||||
}
|
||||
19
PointOfSale/Pos.Api/Pos.Api.Database/Models/Productgroup.cs
Normal file
19
PointOfSale/Pos.Api/Pos.Api.Database/Models/Productgroup.cs
Normal 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; }
|
||||
}
|
||||
15
PointOfSale/Pos.Api/Pos.Api.Database/Models/Sale.cs
Normal file
15
PointOfSale/Pos.Api/Pos.Api.Database/Models/Sale.cs
Normal 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; }
|
||||
}
|
||||
21
PointOfSale/Pos.Api/Pos.Api.Database/Models/SaleLine.cs
Normal file
21
PointOfSale/Pos.Api/Pos.Api.Database/Models/SaleLine.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user