using Bp.Sync.Domain.Elastics.BaseEntities;
using Bp.Sync.Domain.Entities.FcBusinesses.Bills;
using Bp.Sync.Domain.Entities.SyncDavs;
using System;

namespace Bp.Sync.Domain.Elastics.FcBusinesses.Bills
{
    public class FcInboundBillElastic : ElasticBaseEntityWithKey<long>
    {
        public string Code { get; set; }
        public string Title { get; set; }
        public int? OriginBranchId { get; set; }
        public int? DestinationBranchId { get; set; }
        public BillStatus BillStatus { get; set; }
        public int? PartnerId { get; set; }
        public int BranchId { get; set; }
        public int ExpertId { get; set; }
        public decimal TotalInboundDiscount { get; set; }
        public decimal TotalInboundPrice { get; set; }
        public decimal TotalInboundCost { get; set; }
        public string Note { get; set; }
        public decimal Quantity { get; set; }
        public string InvoiceCode { get; set; }
        public BillType BillType { get; set; }
        public DateTimeOffset? InvoiceDate { get; set; }
        public int CompletedBy { get; set; }

        public string CompletedByUserName { get; set; }
        public DateTimeOffset? CompletedDate { get; set; }
        public int NumberOfEdit { get; set; }
        public string HeadQuarterOutboundBillCode { get; set; }
        public long? HeadQuarterOutboundBillId { get; set; }
        public SyncDavStatus SyncDavStatus { get; set; }
    }
}