using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace AI.Platform.Core.Entity.System.VehicleTerminal.CardInfo
{
    /// <summary>
    /// 用户与卡关系表
    /// </summary>
    [SugarTable(null, "用户与卡关系表")]
    public class UserCardRelationEntity : EntityBaseLite
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public  long Id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public long? UserId { get; set; }

        /// <summary>
        /// 卡ID
        /// </summary>
        public long? CardId { get; set; }

        /// <summary>
        /// 企业用户ID
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public long? EnterpriseUserId { get; set; }

    }
}
