using MS.Entities.AccountingService_Models;
using System;
using System.Collections.Generic;

// 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 CardInfo
    {
        public Guid Id { get; set; }
        public string AccountId { get; set; }
        public short? CardStatus { get; set; }
        public int? CtcFlag { get; set; }
        public string CtcTime { get; set; }
        public short? CardClass { get; set; }
        public string CardNo { get; set; }
        public short? CardSno { get; set; }
        public short? CardType { get; set; }
        public string CarLicenseNo { get; set; }
        public long? Gid { get; set; }
        public string Holder { get; set; }
        public int? PointsAwardedTotal { get; set; }
        public DateTime? CreationDate { get; set; }
        public int? Balance { get; set; }
        public string OperatorNo { get; set; }
        public DateTime? ExpirationDate { get; set; }
        public string PhoneNo { get; set; }
        public int? DepositBalance { get; set; }
        public DateTime? ActivationDate { get; set; }
        public string UserNo { get; set; }
        public Guid? AccountInfoId { get; set; }
        public Guid? BusinessUnitInfoId { get; set; }
        public long? CardId { get; set; }
        public long? RechargeTotal { get; set; }
        public int? Ctc { get; set; }
        public short? DMaxPay { get; set; }
        public short? MMaxPay { get; set; }
        public short? OnceMaxPay { get; set; }
        public short? BLimitCar { get; set; }
        public string EnableSms { get; set; }
        public string UserPin { get; set; }
        public short? Sno { get; set; }
        public string LmtOil { get; set; }
        public bool? LmtGood { get; set; }
        public short? DiscountNo { get; set; }
        public short? LimitTimes { get; set; }
        public Guid? BuInfoCreatedId { get; set; }
        public short? UploadFlag { get; set; }
        public long? Tmac { get; set; }
        public DateTime? LastModified { get; set; }

        public virtual AccountInfo AccountInfo { get; set; }
        public virtual BusinessUnitInfo BuInfoCreated { get; set; }
        public virtual BusinessUnitInfo BusinessUnitInfo { get; set; }
    }
}
