using Edu.Common.Enum.User;
using Edu.Model.Entity.User;
using System;
using System.Collections.Generic;
using VT.FW.DB;

namespace Edu.Model.ViewModel.User
{
    /// <summary>
    /// Rb_workdayseting Entity Model
    /// </summary>    
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class Rb_Workflow_Auditrecord_Extend : Rb_Workflow_Auditrecord
    {
        #region 我审批的信息扩展
        /// <summary>
        /// 审核人账号
        /// </summary>
        public string AuditEmAccount { get; set; }
        /// <summary>
        /// 审核人名称
        /// </summary>
        public string AuditEmName { get; set; }

        /// <summary>
        /// 审核人电话
        /// </summary>
        public string EmLoginMobile { get; set; }

        /// <summary>
        /// 审核人帐号
        /// </summary>
        public string AuditEmAccout { get; set; }
        /// <summary>
        /// 审核人头像
        /// </summary>
        public string AuditEmPhoto { get; set; }
        /// <summary>
        /// 转交详情列表
        /// </summary>
        public List<SetCareOfModel> CareOfList { get; set; }
        /// <summary>
        /// 月份
        /// </summary>
        public string MonthStr { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string TotalCount { get; set; }
        #endregion


        #region 我发起的审批信息扩展
        /// <summary>
        ///  申请状态 1审核中  2 撤回  3 驳回  4 不通过  5 通过
        /// </summary>        
        public UserWFAuditStatus? Status
        {
            get;
            set;
        }
        /// <summary>
        /// 所属模版id
        /// </summary>        
        public int? TemplateId
        {
            get;
            set;
        }
        /// <summary>
        /// 模板名称
        /// </summary>        
        public string TemplateName
        {
            get;
            set;
        }
        #endregion
    }
    /// <summary>
    /// 转交
    /// </summary>
    public class SetCareOfModel
    {
        /// <summary>
        /// 来自于谁
        /// </summary>
        public string BeFrom { get; set; }
        /// <summary>
        /// 目标
        /// </summary>
        public string Target { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
    }
    /// <summary>
    /// 员工账户 id 列表
    /// </summary>
    public class EmAccoutIdModel
    {
        /// <summary>
        /// 员工账户
        /// </summary>
        public string EmAccount { get; set; }
        /// <summary>
        /// 员工id
        /// </summary>
        public int EmployeeId { get; set; }

    }

}