using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp;
using LifePayment.Domain.Shared;
namespace LifePayment.Domain.LifePay
{
    /// 
    /// 消费流水
    /// 
    public class LifePayConsumption : FullAuditedEntity, IDataUserFilter
    {
        public LifePayConsumption()
        {
        }
        /// 
        /// 平台订单号
        /// 
        public string OrderNo { get; set; }
        /// 
        /// 渠道流水号
        /// 
        public string AcoolyOrderNo { get; set; }
        /// 
        /// 交易金额
        /// 
        public decimal Amount { get; set; }
        /// 
        /// 供应商订单状态
        /// 
        public ACOOLYStatusEnum ACOOLYStatus { get; set; }
        /// 
        /// 记账时间
        /// 
        public DateTime FinishTime { get; set; }
        /// 
        /// 拓展属性
        /// 
        public string ExtraProperties { get; set; }
        /// 
        /// 冻结状态
        /// 
        public ConsumptionFrozenStatusEnum FrozenStatus { get; set; }
        /// 
        /// 资金流向
        /// 
        public ConsumptionFlowEnum Flow { get; set; }
        /// 
        /// 扣款金额
        /// 
        public decimal DeductionAmount { get; set; }
        /// 
        /// 冻结金额
        /// 
        public decimal? FrozenAmount { get; set; }
        /// 
        /// 渠道号
        /// 
        public string ChannelId { get; set; }
    }
}