using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GreenTree.Nachtragsmanagement.Core.Domain.Invoice
{
    public class Invoice : BaseEntity
    {
        /// <summary>
        /// Customized number for identification
        /// </summary>
        public int CustomNumber { get; set; }

        /// <summary>
        /// Monetary value
        /// </summary>
        public decimal Value { get; set; }

        /// <summary>
        /// Invoice date
        /// </summary>
        public DateTime Date { get; set; }

        /// <summary>
        /// Id of the related appendix
        /// </summary>
        public int? AppendixId { get; set; }

        /// <summary>
        /// Appendix related to the invoice
        /// </summary>
        public Appendix.Appendix Appendix { get; set; }
    }
}
