using AI.Platform.Core.Entity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace ZhonTai.Admin.Contracts.Domain.VehicleTerminal.UserInfo
{
    /// <summary>
    /// 用户信息表
    /// </summary>
    [SugarTable(null, "用户信息表")]
    public class UserInfoEntity : EntityBaseLite
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 微信昵称
        /// </summary>
        public string WxName { get; set; }

        /// <summary>
        /// 性别：0-未知，1-男，2-女
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public byte? Gender { get; set; }

        /// <summary>
        /// 出生年月
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime? BirthDate { get; set; }

        /// <summary>
        /// 站点ID
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public long? SiteId { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string CarPlate { get; set; }

        /// <summary>
        /// 最后活跃时间
        /// </summary>
        public DateTime? LastActiveTime { get; set; }

        /// <summary>
        /// UnionId
        /// </summary>
        public string UnionId { get; set; }

        /// <summary>
        /// 微信头像地址
        /// </summary>
        public string AvatarUrl { get; set; }

        /// <summary>
        /// 最近行为
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string RecentBehavior { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime? RegisterTime { get; set; }

        /// <summary>
        /// 发票抬头
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string InvoiceTitle { get; set; }

        /// <summary>
        /// 用户类型，如：1-个人，2-企业
        /// </summary>
        public byte? UserType { get; set; }
        [SugarColumn(IsNullable = true)]
        public Guid Buid { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string PassWord { get; set; }


    }
}
