using Learun.Util; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Learun.Application.TwoDevelopment.EducationalAdministration { /// /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 /// Copyright (c) 2013-2018 北京泉江科技有限公司 /// 创 建:超级管理员 /// 日 期:2020-04-16 15:52 /// 描 述:班级自诊打卡 /// public class ThermographyEntity { #region 实体成员 /// /// 编号 /// [Column("ID")] public string ID { get; set; } /// /// 班级号 /// [Column("CLASSNO")] public string ClassNo { get; set; } /// /// 测量人编号 /// [Column("MEASURERID")] public string MeasurerID { get; set; } /// /// 测量对象编号 /// [Column("PERSONBEINGMEASURED")] public string PersonBeingMeasured { get; set; } /// /// 测量状态 /// [Column("STATUS")] public string Status { get; set; } /// /// 体温 /// [Column("TEMPERATURE")] public string Temperature { get; set; } /// /// 处理结果 /// [Column("PROCESSINGRESULT")] public string ProcessingResult { get; set; } /// /// 备注 /// [Column("REMARK")] public string Remark { get; set; } /// /// 测量时间 /// [Column("MEASUREDATE")] public DateTime? MeasureDate { get; set; } /// /// 测量时间段 /// [Column("MEASURETIME")] public string MeasureTime { get; set; } /// /// 数据创建时间 /// [Column("CREATETIME")] public DateTime? CreateTime { get; set; } /// /// 系 /// [Column("DEPTNO")] public string DeptNo { get; set; } /// /// 专业 /// [Column("MAJORNO")] public string MajorNo { get; set; } #endregion #region 扩展操作 /// /// 新增调用 /// public void Create(UserInfo userInfo) { this.ID = Guid.NewGuid().ToString(); } /// /// 编辑调用 /// /// public void Modify(string keyValue, UserInfo userInfo) { this.ID = keyValue; } #endregion #region 扩展字段 /// /// 班级名称 /// [NotMapped] public string ClassName { get; set; } /// /// 测温人名称 /// [NotMapped] public string PersonBeingMeasuredName { get; set; } /// /// 总人数 /// [NotMapped] public int? totalNum { get; set; } /// /// 未检测人数 /// [NotMapped] public int? statusNum0 { get; set; } /// /// 正常人数 /// [NotMapped] public int? statusNum1 { get; set; } /// /// 异常人数 /// [NotMapped] public int? statusNum2 { get; set; } /// /// 检测人数(正常+异常) /// [NotMapped] public int? statusNum12 { get; set; } #endregion } }