78 lines
2.0 KiB
C#
78 lines
2.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SIFinance.Shared.Entities;
|
|
|
|
public partial class Facture
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string SourceType { get; set; } = null!;
|
|
|
|
public int? DemandeAchatId { get; set; }
|
|
|
|
public int? ContratId { get; set; }
|
|
|
|
public int FournisseurId { get; set; }
|
|
|
|
public string NumeroFacture { get; set; } = null!;
|
|
|
|
public DateOnly DateFacture { get; set; }
|
|
|
|
public DateOnly DateEcheance { get; set; }
|
|
|
|
public decimal MontantHt { get; set; }
|
|
|
|
public decimal TauxTva { get; set; }
|
|
|
|
public decimal MontantTva { get; set; }
|
|
|
|
public decimal MontantTtc { get; set; }
|
|
|
|
public int? CategorieDepenseId { get; set; }
|
|
|
|
public int ServiceId { get; set; }
|
|
|
|
public int ModePaiementId { get; set; }
|
|
|
|
public string Statut { get; set; } = null!;
|
|
|
|
public bool? EstDoublonSignale { get; set; }
|
|
|
|
public string? Commentaire { get; set; }
|
|
|
|
public int SaisieParId { get; set; }
|
|
|
|
public int? ValideBapParId { get; set; }
|
|
|
|
public DateTime? DateValidationBap { get; set; }
|
|
|
|
public DateTime? DateCreation { get; set; }
|
|
|
|
public DateTime? DateDerniereMaj { get; set; }
|
|
|
|
public virtual ICollection<Acompte> Acomptes { get; set; } = new List<Acompte>();
|
|
|
|
public virtual ICollection<AffectationsAvoir> AffectationsAvoirs { get; set; } = new List<AffectationsAvoir>();
|
|
|
|
public virtual ICollection<Avoir> Avoirs { get; set; } = new List<Avoir>();
|
|
|
|
public virtual TypesDepense? CategorieDepense { get; set; }
|
|
|
|
public virtual DemandesAchat? DemandeAchat { get; set; }
|
|
|
|
public virtual ContratFournisseur? Contrat { get; set; }
|
|
|
|
public virtual Fournisseur Fournisseur { get; set; } = null!;
|
|
|
|
public virtual ModesPaiement ModePaiement { get; set; } = null!;
|
|
|
|
public virtual ICollection<Paiement> Paiements { get; set; } = new List<Paiement>();
|
|
|
|
public virtual Utilisateur SaisiePar { get; set; } = null!;
|
|
|
|
public virtual Service Service { get; set; } = null!;
|
|
|
|
public virtual Utilisateur? ValideBapPar { get; set; }
|
|
}
|