using Bp.Sync.Domain.Elastics.BaseEntities;

namespace Bp.Sync.Domain.Elastics.FcBusinesses.UnitExchanges
{
    public class FcUnitExchangeElastic : ElasticBaseEntityWithKey<long>
    {
        public int BranchId { get; set; }
        public long ProductId { get; set; }
        public bool IsDefault { get; set; }
        public decimal Quantity { get; set; }
        public decimal Price { get; set; }
        public decimal WholesalePrice { get; set; }
        public decimal Cost { get; set; }
        public decimal RetailPrice { get; set; }
        public int ExchangeValue { get; set; }
        public int DisplayOrder { get; set; }
        public int HeadQuarterUnitId { get; set; }
        public string HeadQuarterUnitName { get; set; }
        public int HeadQuarterParentUnitId { get; set; }
        public string HeadQuarterParentUnitName { get; set; }
        public Entities.FcBusinesses.UnitExchanges.UnitExchangeType? UnitExchangeType { get; set; }
    }
}