using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.App.Config
{
    public class WFUserInfo
    {
        /// <summary>
        /// ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 公司
        /// </summary>
        public string CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 审核顺序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否需要审核
        /// </summary>
        public bool IsAwait { get; set; }
        /// <summary>
        /// 是否没有审核人
        /// </summary>
        public bool NotHasUser { get; set; }
        /// <summary>
        /// 上一次审批人是否同意（这边的定义为除了驳回的）
        /// </summary>
        public bool IsAgree { get; set; }

        /// <summary>
        /// 是否第一次审核
        /// </summary>
        public bool IsNew { get; set; }

        /// <summary>
        /// 任务状态 1.激活 2.待激活 3.完成 4.关闭 5.加签状态 6.转移给其他人
        /// </summary>
        public int State { get; set; }
    }
}
