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 FcReceiptBillElastic : ElasticBaseEntityWithKey<long>
    {
        public string Code { get; set; }
        public string Title { get; set; }
        public BillStatus BillStatus { get; set; }
        public BillType BillType { get; set; }
        public int CustomerId { get; set; }
        public int ExpertId { get; set; }
        public int BranchId { get; set; }
        public decimal CustomerPay { get; set; }
        public decimal CustomerChange { get; set; }
        public decimal TotalReceiptPayPoint { get; set; }
        public decimal TotalReceiptEarnedPoint { get; set; }
        public decimal TotalReceiptDiscount { get; set; }
        public decimal TotalReceiptPrice { get; set; }
        public decimal Quantity { get; set; }
        public string Note { get; set; }
        public int CompletedBy { get; set; }
        public string CompletedByUserName { get; set; }
        public DateTimeOffset? CompletedDate { get; set; }
        public string InvoiceCode { get; set; }
        public DateTimeOffset? InvoiceDate { get; set; }
        public string RelateBillCode { get; set; }
        public long? RelateBillId { get; set; }
        public int NumberOfEdit { get; set; }
        public PaymentMode? PaymentMode { get; set; }
        public SyncDavStatus SyncDavStatus { get; set; }
    }
}