using System;
using System.Collections.Generic;
using System.Text;

namespace AutoTurnOver.Models
{
    public class UserData
    {
        #region 属性
        /// <summary>
        /// 员工状态
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// 员工工号
        /// </summary>
        public string UserCode { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string Jobs { get; set; }

        /// <summary>
        /// 二级部门
        /// </summary>
        public string DepartmentName2 { get; set; }

        public string RzType { get; set; }

        /// <summary>
        /// 登陆名
        /// </summary>
        public string UserAccount { get; set; }

        /// <summary>
        /// 部门全称
        /// </summary>
        public string DepartmentPath { get; set; }

        /// <summary>
        /// 一级部门
        /// </summary>
        public string DepartmentName1 { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName { get; set; }

        #endregion
    }

    public class LoginData
    {
        public string message { get; set; }
        public int code { get; set; }
        public UserData data { get; set; }
    }
}
