using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
///
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-21 11:32
/// 描 述:学生资助管理
///
public class StuSubsidizeEntity
{
#region 实体成员
///
/// 标识列
///
[Column("ID")]
public string Id { get; set; }
///
/// 学年度
///
[Column("ACADEMICYEARNO")]
public string AcademicYearNo { get; set; }
///
/// 学期
///
[Column("SEMESTER")]
public string Semester { get; set; }
///
/// 学生主键
///
[Column("STUID")]
public string StuId { get; set; }
///
/// 资助名称
///
[Column("NAME")]
public string Name { get; set; }
///
/// 资助类型
///
[Column("TYPEID")]
public string TypeId { get; set; }
///
/// 资助等级
///
[Column("LEVELS")]
public string Levels { get; set; }
///
/// 资助金额
///
[Column("AMOUNT")]
public decimal? Amount { get; set; }
///
/// 是否已发放
///
[Column("ISISSUE")]
public string IsIssue { get; set; }
///
/// CreateUserId
///
[Column("CREATEUSERID")]
public string CreateUserId { get; set; }
///
/// CreateTime
///
[Column("CREATETIME")]
public DateTime? CreateTime { get; set; }
///
/// ModifyUserId
///
[Column("MODIFYUSERID")]
public string ModifyUserId { get; set; }
///
/// ModifyTime
///
[Column("MODIFYTIME")]
public DateTime? ModifyTime { get; set; }
///
/// 备注
///
[Column("REMARK")]
public string Remark { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public void Create()
{
this.Id = Guid.NewGuid().ToString();
this.CreateUserId = LoginUserInfo.Get().userId;
this.CreateTime = DateTime.Now;
}
///
/// 编辑调用
///
///
public void Modify(string keyValue)
{
this.Id = keyValue;
this.ModifyUserId = LoginUserInfo.Get().userId;
this.ModifyTime = DateTime.Now;
}
#endregion
#region 扩展字段
[NotMapped]
public string StuNo { get; set; }
[NotMapped]
public string StuName { get; set; }
[NotMapped]
public bool? GenderNo { get; set; }
[NotMapped]
public string IdentityCardNo { get; set; }
[NotMapped]
public string NationalityNo { get; set; }
[NotMapped]
public string DeptNo { get; set; }
[NotMapped]
public string MajorNo { get; set; }
[NotMapped]
public string ClassNo { get; set; }
[NotMapped]
public string Grade { get; set; }
[NotMapped]
public string EduSystem { get; set; }
[NotMapped]
public string StudyModality { get; set; }
[NotMapped]
public string DepositBank { get; set; }
[NotMapped]
public string BankCard { get; set; }
[NotMapped]
public string BankLocation { get; set; }
[NotMapped]
public string InSchoolTelephone { get; set; }
[NotMapped]
public string QQ { get; set; }
#endregion
}
}