Sync-kibővítése

This commit is contained in:
Iván Szabó
2025-02-27 15:46:07 +01:00
parent 883ae6b845
commit c7784e7fef
4 changed files with 90 additions and 23 deletions
@@ -5,6 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorkFlowCheck.MAUI.DataLayer.Entities;
using Location = WorkFlowCheck.MAUI.DataLayer.Entities.Location;
namespace WorkFlowCheck.MAUI.DataLayer
{
@@ -16,6 +17,7 @@ namespace WorkFlowCheck.MAUI.DataLayer
public DbSet<CheckListTemplateRow> CheckListTemplateRows { get; set; }
public DbSet<CheckPoint> CheckPoints { get; set; }
public DbSet<Equipment> Equipments { get; set; }
public DbSet<Location> Locations { get; set; }
public AppDbContext()
{
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkFlowCheck.MAUI.DataLayer.Entities
{
public class Location
{
public int Id { get; set; }
public string FullName { get; set; } = null!;
}
}