using Learun.Util; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace Learun.Application.TwoDevelopment.EducationalAdministration { /// /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 /// Copyright (c) 2013-2018 北京泉江科技有限公司 /// 创 建:超级管理员 /// 日 期:2019-06-14 10:24 /// 描 述:教师考勤 /// public class Teach_attendanceEntity { #region 实体成员 /// /// ID /// [Column("ID")] public string ID { get; set; } /// /// 教师编号 /// [Column("EMPNO")] public string EmpNo { get; set; } /// /// 教师姓名 /// [Column("EMPNAME")] public string EmpName { get; set; } /// /// 必修课表主键(该字段存值为必修课或者选修课的主键,具体根据标识来区分) /// [Column("ALTID")] public string ALTId { get; set; } /// /// 选修课表主键(暂定不存值) /// [Column("ALTOEID")] public string ALTOEId { get; set; } /// /// 课程标识:1必修,2选修 /// [Column("LESSONSORTNO")] public string LessonSortNo { get; set; } /// /// 考勤类型 0-未定义,1-上课,2-下课, /// [Column("ADTYPE")] public string ADType { get; set; } /// /// 考勤时间(服务器时间) /// [Column("ADTIME")] public DateTime? ADTime { get; set; } /// /// 打卡时间(考勤机时间) /// [Column("CLOCKTIME")] public DateTime? ClockTime { get; set; } /// /// 打卡结果 1正常,2迟到,3早退,6缺勤 /// [Column("CLOCKSTATUS")] public string ClockStatus { get; set; } /// /// 打卡地点 /// [Column("CLOCKPLACE")] public string ClockPlace { get; set; } /// /// 考勤照片 /// [Column("ADPHOTO")] public string ADPhoto { get; set; } /// /// 经度 /// [Column("ALON")] public decimal ALon { get; set; } /// /// 纬度 /// [Column("ALAT")] public decimal ALat { get; set; } /// /// 是否外勤 /// [Column("AISOUT")] public bool AIsOut { get; set; } /// /// 备注 /// [Column("AREMARK")] public string ARemark { get; set; } /// /// 图片地址 /// [Column("PHOTO")] public string Photo { get; set; } /// /// 是否一致 /// [Column("ISFIT")] public bool? IsFit { get; set; } /// /// 拍照图片 /// [Column("IMG")] public string Img { get; set; } #endregion #region 扩展操作 /// /// 新增调用 /// public void Create() { this.ID = Guid.NewGuid().ToString(); } /// /// 编辑调用 /// /// public void Modify(string keyValue) { this.ID = keyValue; } #endregion #region 扩展字段 [NotMapped] public string ALTIdInArrange { get; set; } [NotMapped] public string LessonDate { get; set; } [NotMapped] public string AcademicYearNo { get; set; } [NotMapped] public string Semester { get; set; } [NotMapped] public string LessonNo { get; set; } [NotMapped] public string LessonName { get; set; } [NotMapped] public string EmpNoInArrange { get; set; } [NotMapped] public string EmpNameInArrange { get; set; } [NotMapped] public string ClassroomNo { get; set; } [NotMapped] public string LessonTime { get; set; } [NotMapped] public string StartTime { get; set; } [NotMapped] public string EndTime { get; set; } [NotMapped] public string LessonSortNoInArrange { get; set; } [NotMapped] public string F_DepartmentId { get; set; } [NotMapped] public List Group { get; set; } /// /// 时间段 如:08:05:00-11:24:00 /// [NotMapped] public string TimePeriod { get; set; } /// /// 上班状态 /// [NotMapped] public string ADStatusWork { get; set; } /// /// 下班状态 /// [NotMapped] public string ADStatusClose { get; set; } /// /// 签到时间 /// [NotMapped] public string ClockTimeWork { get; set; } /// /// 签退时间 /// [NotMapped] public string ClockTimeClose { get; set; } /// /// 迟到 /// [NotMapped] public int ChidaoMinutes { get; set; } /// /// 早退 /// [NotMapped] public int ZaoTuiMinutes { get; set; } /// /// 出勤 /// [NotMapped] public int ChuQinMinutes { get; set; } /// /// 缺勤 /// [NotMapped] public int QueQinMinutes { get; set; } /// /// 工作 /// [NotMapped] public int WorkMinutes { get; set; } /// /// 休息 /// [NotMapped] public int RestMinutes { get; set; } /// /// 人脸识别 /// [NotMapped] public string IsFitstr { get; set; } #endregion } }