namespace DuSoft.PcmDb.Entities;

public partial class PcfUser
{
    public int PcfUserId { get; set; }

    public decimal? PcfPStationId { get; set; }

    public decimal? PcfCustomerId { get; set; }

    public decimal? PcfLoyaltyCustomerId { get; set; }

    public string Ident { get; set; } = null!;

    public string? PasswordHash { get; set; }

    public string? FirstName { get; set; }

    public string? LastName { get; set; }

    public int AccessProfile { get; set; }

    public DateTime? ValidFrom { get; set; }

    public DateTime? ValidTo { get; set; }

    public string? EMail { get; set; }

    public short Blocked { get; set; }

    public short Active { get; set; }

    public string? Flags { get; set; }

    public virtual Kontrahent? PcfCustomer { get; set; }

    public virtual Kontrahent? PcfLoyaltyCustomer { get; set; }

    public virtual Kontrahent? PcfPStation { get; set; }

    public virtual ICollection<PcfUserSklep> PcfUserSklep { get; set; } = new List<PcfUserSklep>();

    public virtual ICollection<RegulaSklepAuth> RegulaSklepAuth { get; set; } = new List<RegulaSklepAuth>();
}
