using Learun.Util; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Learun.Application.TwoDevelopment.PersonnelManagement { /// /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// 创 建:超级管理员 /// 日 期:2021-05-11 18:17 /// 描 述:教科研组管理 /// public class ResearchGEREntity { #region 实体成员 /// /// GerID /// [Column("GERID")] public string GerID { get; set; } /// /// GerName /// [Column("GERNAME")] public string GerName { get; set; } /// /// GerBoss /// [Column("GERBOSS")] public string GerBoss { get; set; } /// /// Gerpeople /// [Column("GERPEOPLE")] public string Gerpeople { get; set; } /// /// Gertiem /// [Column("GERTIEM")] public DateTime? Gertiem { get; set; } /// /// GerState /// [Column("GERSTATE")] public string GerState { get; set; } /// /// postscript /// [Column("POSTSCRIPT")] public string postscript { get; set; } /// /// 创建人 /// [Column("GERCREATEUSERID")] public string GerCreateUserId { get; set; } /// /// 创建人 /// [Column("GERCREATEUSERNAME")] public string GerCreateUserName { get; set; } /// /// 创建时间 /// [Column("GERCREATETIME")] public DateTime? GerCreateTime { get; set; } #endregion #region 扩展操作 /// /// 新增调用 /// public void Create() { this.GerID = Guid.NewGuid().ToString(); var userinfo = LoginUserInfo.Get(); this.GerCreateUserId = userinfo.userId; this.GerCreateUserName = userinfo.realName; this.GerCreateTime = DateTime.Now; } /// /// 编辑调用 /// /// public void Modify(string keyValue) { this.GerID = keyValue; } #endregion #region 扩展字段 #endregion } }