using Learun.Util; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Learun.Application.TwoDevelopment.EducationalAdministration { /// <summary> /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// 创 建:超级管理员 /// 日 期:2021-09-24 17:38 /// 描 述:奖励惩罚管理 /// </summary> public class AwardPunishInfoEntity { #region 实体成员 /// <summary> /// 主键 /// </summary> [Column("ID")] public string Id { get; set; } /// <summary> /// 奖励对象 /// </summary> [Column("REWARDOBJECTS")] public string RewardObjects { get; set; } /// <summary> /// 学号 /// </summary> [Column("STUID")] public string StuId { get; set; } /// <summary> /// StuName /// </summary> [Column("STUNAME")] public string StuName { get; set; } /// <summary> /// 班级 /// </summary> [Column("CLASSNO")] public string ClassNo { get; set; } /// <summary> /// FileAddress /// </summary> [Column("FILEADDRESS")] public string FileAddress { get; set; } /// <summary> /// 奖励/惩罚类型 /// </summary> [Column("AWARDNAME")] public string AwardName { get; set; } /// <summary> /// 属性 0集体 1个人 /// </summary> [Column("NATURETYPE")] public string NatureType { get; set; } /// <summary> /// 奖励级别 /// </summary> [Column("AWARDTYPE")] public string AwardType { get; set; } /// <summary> /// 获奖/惩罚时间 /// </summary> [Column("WINNINGTIME")] public DateTime? WinningTime { get; set; } /// <summary> /// 获奖/惩罚描述 /// </summary> [Column("REMARK")] public string Remark { get; set; } /// <summary> /// 添加时间 /// </summary> [Column("ADDDATE")] public DateTime? Adddate { get; set; } /// <summary> /// AddUser /// </summary> [Column("ADDUSER")] public string AddUser { get; set; } /// <summary> /// 0奖励 1惩罚 /// </summary> [Column("ISVAILD")] public string IsVaild { get; set; } #endregion #region 扩展操作 /// <summary> /// 新增调用 /// </summary> public void Create() { this.Id = Guid.NewGuid().ToString(); } /// <summary> /// 编辑调用 /// </summary> /// <param name="keyValue"></param> public void Modify(string keyValue) { this.Id = keyValue; } #endregion #region 扩展字段 #endregion } }