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 FcOutboundBillElastic : ElasticBaseEntityWithKey<long>
    {
        public string Code { get; set; }
        public OutboundBillStatus BillStatus { get; set; }
        public BillType BillType { get; set; }
        public int? PartnerId { get; set; }
        public decimal Quantity { get; set; }
        public int OriginBranchId { get; set; }
        public int? DestinationBranchId { get; set; }
        public string InvoiceCode { get; set; }
        public DateTimeOffset? InvoiceDate { get; set; }
        public string RelateBillCode { get; set; }
        public DateTimeOffset? RelateBillTime { get; set; }
        public long? RelateBillId { get; set; }
        public string Note { get; set; }
        public int CompletedBy { get; set; }
        public string CompletedByUserName { get; set; }
        public DateTimeOffset? CompletedDate { get; set; }
        public int NumberOfEdit { get; set; }
        public SyncDavStatus SyncDavStatus { get; set; }
    }
}