using Learn.Archives.Core.Model.Enum;
using Learn.Archives.Core.Model.Interface;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Text.Json;
using UserCenter.Model;
using UserCenter.Model.Enum;
namespace Learn.Archives.Core.Model
{
///
/// 用户
/// 数据中心拓展学生
///
[SugarTable("student")]
public class Student : EntityBaseId, IDB
{
///
/// 用户中心的id
///
///
public long UserCenterId { get; set; }
///
/// 减免金额
///
[SugarColumn(DecimalDigits =2)]
public decimal AmountRelief { get; set; }
///
/// 减免是否申请
///
public bool ReliefApplication { get; set; }
///
/// 减免申请类型
///
[SugarColumn(IsNullable = true, Length = 20)]
public string? ReliefType { get; set; }
///
/// 学生类型
///
[SugarColumn(IsNullable = true)]
public StudentTypeEnum? StudentType { get; set; }
///
/// 减免申请时间
///
[SugarColumn(IsNullable = true)]
public DateTime? ReliefSubTime { get; set; }
///
/// 学生状态
///
public UserStatusEnum Status { get; set; }
///
/// 备注
///
///
[SugarColumn(IsNullable = true,Length = 500)]
public string? Remark { get; set; }
///
/// 退出时间
///
[SugarColumn(IsNullable = true)]
public DateTime? ExitTime { get; set; }
///
/// 退出时间
///
[SugarColumn(IsNullable = true)]
public DateTime? JoinTime { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; } = DateTime.Now;
}
}