using System;
using System.Collections.Generic;

namespace Models.Models;

public partial class PhSDeliveryNote
{
    public int Id { get; set; }

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

    public int? QuoteId { get; set; }

    public int? SalesinvoiceId { get; set; }

    public DateTime Issuedate { get; set; }

    public int CustomerId { get; set; }

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

    public string? Observations { get; set; }

    public string? ExtrainfoJson { get; set; }

    public int Printcount { get; set; }

    public DateTime Createdat { get; set; }

    public DateTime? Modifiedat { get; set; }

    public virtual PhSCustomer Customer { get; set; } = null!;

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

    public virtual PhSQuoteHeader? Quote { get; set; }
}
