using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable

namespace MS.Entities.AccountingService_Models
{
    public partial class OfflineTransactionInfo
    {
        public Guid Id { get; set; }
        public string AccountId { get; set; }
        public int? Amount { get; set; }
        public int? Balance { get; set; }
        public string CarLicenseNo { get; set; }
        public int? CardBalance { get; set; }
        public string CardNo { get; set; }
        public int? CardType { get; set; }
        public string Comments { get; set; }
        public int? DiscountNo { get; set; }
        public string EmployeeNo { get; set; }
        public int? GrossAmount { get; set; }
        public short? InvoiceIssued { get; set; }
        public string LineNo { get; set; }
        public int? Mileage { get; set; }
        public int? NozzleNo { get; set; }
        public string Operator { get; set; }
        public int? PayModeId { get; set; }
        public string PayModeNo { get; set; }
        public int? PaymentId { get; set; }
        public int? PosId { get; set; }
        public int? Price { get; set; }
        public string ProductId { get; set; }
        public int? PumpNo { get; set; }
        public int? PumpType { get; set; }
        public short? RechargeType { get; set; }
        public int? SequenceNo { get; set; }
        public DateTime? TransactionTime { get; set; }
        public int? TransactionType { get; set; }
        public DateTime? TrxEndTime { get; set; }
        public string TrxOriginalId { get; set; }
        public string TrxSequenceNo { get; set; }
        public DateTime? TrxStartTime { get; set; }
        public int? Volume { get; set; }
        public Guid? AccountInfoId { get; set; }
        public Guid? BusinessUnitInfoId { get; set; }
        public Guid? CardInfoId { get; set; }
        public long? ShiftId { get; set; }
        public int? SubTransactionType { get; set; }
        public long? EndTotalizer { get; set; }
        public long? ReceiptNo { get; set; }
        public int? CardSequenceNo { get; set; }
        public short? InvoiceType { get; set; }
        public string CommId { get; set; }
        public string BarCode { get; set; }
        public string FuelName { get; set; }
        public long? Gid { get; set; }
        public int? Sno { get; set; }
        public string CarId { get; set; }
        public int? Ctc { get; set; }
        public long? PayTemId { get; set; }
        public int? BillNo { get; set; }
        public string PsamAsn { get; set; }
        public string PsamTid { get; set; }
        public long? Tac { get; set; }
        public int? Integral { get; set; }
        public int? Ttc { get; set; }
        public short? BillType { get; set; }
        public int? DisMoney { get; set; }
        public int? DisIntegral { get; set; }
        public long? PsamTac { get; set; }
        public long? PsamTtc { get; set; }
        public long? Gmac { get; set; }
        public long? Tmac { get; set; }
        public bool? SmsSent { get; set; }
        public DateTime? LastModified { get; set; }
        public string OperCardNo { get; set; }

        public virtual AccountInfo AccountInfo { get; set; }
        [NotMapped]
        public virtual BusinessUnitInfo BusinessUnitInfo { get; set; }
        public virtual CardInfo CardInfo { get; set; }
    }
}
