using Learun.Util; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Learun.Application.TwoDevelopment.EducationalAdministration { /// /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// 创 建:超级管理员 /// 日 期:2023-03-06 12:18 /// 描 述:心里预约功能 /// public class PsychologyInfoEntity { #region 实体成员 /// /// Id /// /// [Column("ID")] public string Id { get; set; } /// /// 学生学号 /// /// [Column("STUNO")] public string StuNo { get; set; } /// /// 咨询内容 /// /// [Column("CONCENT")] public string Concent { get; set; } /// /// 附件 /// /// [Column("URL")] public string Url { get; set; } /// /// State /// /// [Column("STATE")] public int? State { get; set; } /// /// 提交日期 /// /// [Column("CREATETIME")] public DateTime? CreateTime { get; set; } #endregion #region 扩展操作 /// /// 新增调用 /// public void Create() { this.Id = Guid.NewGuid().ToString(); this.State = 0; this.CreateTime = DateTime.Now; } /// /// 编辑调用 /// /// public void Modify(string keyValue) { this.Id = keyValue; this.CreateTime = DateTime.Now; } #endregion [NotMapped] public string F_RealName { get; set; } [NotMapped] public string ReplyContent { get; set; } [NotMapped] public string Urls { get; set; } [NotMapped] public DateTime? ReplyTime { get; set; } [NotMapped] public string ReplyUser { get; set; } } }