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.WebApi.AccountingService_Models
{
    public partial class UserInfo
    {
        public UserInfo()
        {
            AccountInfo = new HashSet<AccountInfo>();
            InverseUserInfoNavigation = new HashSet<UserInfo>();
            InvoiceInfo = new HashSet<InvoiceInfo>();
            UserInfoMembershipGroups = new HashSet<UserInfoMembershipGroups>();
        }

        public Guid Id { get; set; }
        public string Address { get; set; }
        public int? Amount { get; set; }
        public DateTime? Birthday { get; set; }
        public string BuId { get; set; }
        public string BuString { get; set; }
        public string CertificateNo { get; set; }
        public string CertificateType { get; set; }
        public DateTime? CreationDate { get; set; }
        public bool? EnableSms { get; set; }
        public string FuelNo { get; set; }
        public string Gender { get; set; }
        public int? Gift { get; set; }
        public DateTime? LastActiveDate { get; set; }
        public string PassCode { get; set; }
        public string Password { get; set; }
        public string PhoneNo { get; set; }
        public string Portrait { get; set; }
        public int? RechargeTotal { get; set; }
        public string UnionId { get; set; }
        public int? UserId { get; set; }
        public string UserName { get; set; }
        public string UserNo { get; set; }
        public int? UserState { get; set; }
        public int? UserType { get; set; }
        public string VehicleLicenseNo { get; set; }
        public string VehicleModel { get; set; }
        public Guid? BusinessUnitInfoId { get; set; }
        public Guid? UserInfoId { get; set; }
        public string MembershipPoints { get; set; }
        public Guid? MembershipLevel { get; set; }
        public Guid? LastMembershipLevel { get; set; }
        public DateTime? NextLevelUpDateTime { get; set; }
        public long? TotalVolume { get; set; }
        public long? TotalSpending { get; set; }
        public string AliPayId { get; set; }
        public DateTime? LastLevelUpTime { get; set; }
        public int? InvoiceBalance { get; set; }
        public int? OfflineTransferRemaining { get; set; }

        public virtual BusinessUnitInfo BusinessUnitInfo { get; set; }
        public virtual MembershipLevelInfo LastMembershipLevelNavigation { get; set; }
        public virtual MembershipLevelInfo MembershipLevelNavigation { get; set; }
        public virtual UserInfo UserInfoNavigation { get; set; }
        public virtual ICollection<AccountInfo> AccountInfo { get; set; }
        public virtual ICollection<UserInfo> InverseUserInfoNavigation { get; set; }
        public virtual ICollection<InvoiceInfo> InvoiceInfo { get; set; }
        public virtual ICollection<UserInfoMembershipGroups> UserInfoMembershipGroups { get; set; }
    }
}
