using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
///
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2021-03-26 11:35
/// 描 述:学生销假管理
///
public class StuCancelLeaveManagementEntity
{
#region 实体成员
///
/// Id
///
[Column("ID")]
public string Id { get; set; }
///
/// 销假类型
///
[Column("CANCELLEAVETYPE")]
public string CancelLeaveType { get; set; }
///
/// 到岗时间
///
[Column("WORKTIME")]
public DateTime? WorkTime { get; set; }
///
/// 销假事由
///
[Column("CANCELLEAVEREASON")]
public string CancelLeaveReason { get; set; }
///
/// 备注
///
[Column("REMARK")]
public string Remark { get; set; }
///
/// 申请人
///
[Column("CREATEUSERID")]
public string CreateUserId { get; set; }
///
/// 申请用户编号
///
[Column("CREATEUSERNO")]
public string CreateUserNo { get; set; }
///
/// 申请时间
///
[Column("CREATETIME")]
public DateTime? CreateTime { get; set; }
///
/// 审核状态(0草稿,1审核中,2审核通过,3,审核不通过)
///
[Column("CHECKSTATUS")]
public string CheckStatus { get; set; }
///
/// 审核备注
///
[Column("CHECKREMARK")]
public string CheckRemark { get; set; }
///
/// 审核人
///
[Column("CHECKUSERID")]
public string CheckUserId { get; set; }
///
/// 审核时间
///
[Column("CHECKTIME")]
public DateTime? CheckTime { get; set; }
///
/// 审核用户编号
///
[Column("CHECKUSERNO")]
public string CheckUserNo { get; set; }
///
/// 流程Id
///
[Column("PROCESSID")]
public string ProcessId { get; set; }
///
/// 销假请假单Id
///
[Column("LEAVEID")]
public string LeaveId { 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 CreateUserName { get; set; }
[NotMapped]
public string ClassNo { get; set; }
[NotMapped]
public string DeptNo { get; set; }
[NotMapped]
public string MajorNo { get; set; }
[NotMapped]
public string ClassDiredctorNo { get; set; }
[NotMapped]
public string ClassTutorNo { get; set; }
///
/// Id
///
[NotMapped]
public string IdInLeave { get; set; }
///
/// 请假类型
///
[NotMapped]
public string LeaveType { get; set; }
///
/// 开始时间
///
[NotMapped]
public DateTime? StartTime { get; set; }
///
/// 结束时间
///
[NotMapped]
public DateTime? EndTime { get; set; }
///
/// 请假天数
///
[NotMapped]
public decimal? LeaveDay { get; set; }
///
/// 请假事由
///
[NotMapped]
public string LeaveReason { get; set; }
///
/// 申请人ID
///
[NotMapped]
public string CreateUserIdInLeave { get; set; }
///
/// 申请人编号
///
[NotMapped]
public string CreateUserNoInLeave { get; set; }
///
/// 申请时间
///
[NotMapped]
public DateTime? CreateTimeInLeave { get; set; }
///
/// 审核状态(0草稿,1审核中,2审核通过,3审核不通过,)
///
[NotMapped]
public string CheckStatusInLeave { get; set; }
#endregion
}
}