Files
2026-09-11 14:55:41 +02:00

56 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
namespace SIFinance.Shared.Entities;
public partial class ContratFournisseur
{
public int Id { get; set; }
public int FournisseurId { get; set; }
public int? ServiceId { get; set; }
public int? CampusId { get; set; }
public string? Reference { get; set; }
public string Objet { get; set; } = null!;
public DateOnly? DateSignature { get; set; }
public DateOnly DateDebut { get; set; }
public DateOnly DateFin { get; set; }
public DateOnly? DateResiliation { get; set; }
public string? MotifResiliation { get; set; }
public decimal MontantTotal { get; set; }
public string Periodicite { get; set; } = null!;
public string Statut { get; set; } = null!;
public int SaisieParId { get; set; }
public DateTime? DateCreation { get; set; }
public DateTime? DateDerniereMaj { get; set; }
public virtual Fournisseur Fournisseur { get; set; } = null!;
public virtual Service? Service { get; set; }
public virtual Campus? Campus { get; set; }
public virtual Utilisateur SaisiePar { get; set; } = null!;
public virtual ICollection<ContratEcheance> Echeances { get; set; } = new List<ContratEcheance>();
public virtual ICollection<Facture> Factures { get; set; } = new List<Facture>();
public virtual ICollection<ContratFournisseurHistorique> Historique { get; set; } = new List<ContratFournisseurHistorique>();
}