FÉLKÉSZ

This commit is contained in:
2025-04-05 18:11:42 +02:00
parent 4951fc0c7a
commit 33232bae75
15 changed files with 404 additions and 72 deletions
@@ -20,6 +20,7 @@ namespace WorkFlowCheck.MAUI.DataLayer
public DbSet<CheckPoint> CheckPoints { get; set; }
public DbSet<Equipment> Equipments { get; set; }
public DbSet<Location> Locations { get; set; }
public DbSet<MobileUser> MobileUsers { get; set; }
public AppDbContext()
{
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkFlowCheck.MAUI.DataLayer.Entities
{
public class MobileUser
{
public int Id { get; set; }
public string? UserName { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Email { get; set; }
public string? PhoneNumber { get; set; }
public bool NFCActive { get; set; }
public string NFCCode { get; set; } = null!;
}
}