using New_College.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace New_College.Model.Models
{
public class V_CustomerInfo : EntityModel
{
///
/// 用户头像
///
[SugarColumn(IsNullable = true)]
public string AvatarUrl { get; set; }
///
/// 用户code
///
[SugarColumn(IsNullable = true)]
public string UserCode { get; set; }
///
/// 小程序openid
///
[SugarColumn(IsNullable = true)]
public string OpenId { get; set; }
///
/// 用户名
///
[SugarColumn(IsNullable = true)]
public string NickName { get; set; }
///
/// 性别 1男 2女
///
[SugarColumn(IsNullable = true)]
public int Gender { get; set; }
///
/// 电话
///
[SugarColumn(IsNullable = true)]
public string Phone { get; set; }
///
/// 用户密码
///
[SugarColumn(IsNullable = true)]
public string UserPwd { get; set; }
///
/// 密码混合验证字段
///
[SugarColumn(IsNullable = true)]
public string Salt { get; set; }
///
///学生所在学校
///
[SugarColumn(IsNullable = true)]
public string SchoolName { get; set; }
///
/// 学生所在班级
///
[SugarColumn(IsNullable = true)]
public string ClassName { get; set; }
///
/// 用户类型
///
[SugarColumn(IsNullable = true)]
public CustomerTypeEnum CustomerType { get; set; } = CustomerTypeEnum.General;
///
/// 省市区id
///
[SugarColumn(IsNullable = true)]
public int AreaId { get; set; } = 0;
///
/// 省市区名称
///
[SugarColumn(IsNullable = true)]
public string AreaName { get; set; }
///
/// 状态:0、未启用,1、启用,2、禁用
///
public int? Status { get; set; } = 1;
///
///学生数据是否初始化(省份,选科等)
///
public bool? Datainit { get; set; } = false;
///
/// 0(新高考),1(文科,理科)
///
public int? Subject { get; set; } = 0;
///
/// 选科文字展示
///
[SugarColumn(IsNullable = true)]
public string Subjectgroup { get; set; }
///
///
///
[SugarColumn(IsNullable = true)]
public string subjectgroupName { get; set; }
///
/// 考生预计分数
///
public double? Expectedscore { get; set; } = 0;
///
/// 是否为VIP
///
public bool IsVIP { get; set; } = false;
[SugarColumn(IsNullable = true)]
public string VipCode { get; set; }
///
/// 是否更新分数
///
[SugarColumn(IsNullable = true)]
public int IsUpdateScore { get; set; } = 0;
///
/// 年份
///
[SugarColumn(IsNullable = true)]
public int Year { get; set; }
}
}