123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- using OASystem.Domain.Entities.System;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.ViewModels.System
- {
- /// <summary>
- /// 用户数据 数据库返回数据实体接受类
- /// 查询返回View
- /// </summary>
- public class UserInfoWebView
- {
- /// <summary>
- /// 用户Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 公司Id
- /// </summary>
- public int CompanyId { get; set; }
- /// <summary>
- /// 公司名称
- /// </summary>
- public string CompanyName { get; set; }
- /// <summary>
- /// 部门Id
- /// </summary>
- public int DepId { get; set; }
- /// <summary>
- /// 部门名称
- /// </summary>
- public string DepName { get; set; }
- /// <summary>
- /// 岗位Id
- /// </summary>
- public int JobPostId { get; set; }
- /// <summary>
- /// 岗位名称
- /// </summary>
- public string JobName { get; set; }
- /// <summary>
- /// 中文姓名
- /// </summary>
- public string CnName { get; set; }
- /// <summary>
- /// 工号
- /// </summary>
- public string Number { get; set; }
- /// <summary>
- /// 分机号
- /// </summary>
- public string Ext { get; set; }
- /// <summary>
- /// 手机号
- /// </summary>
- public string Phone { get; set; }
- /// <summary>
- /// 紧急联系人 手机号
- /// </summary>
- public string UrgentPhone { get; set; }
- /// <summary>
- /// 邮箱
- /// </summary>
- public string Email { get; set; }
- /// <summary>
- /// 试用期
- /// </summary>
- public string UsePeriod { get; set; }
- /// <summary>
- /// 人事审核 0未审核(初始状态) 1 已通过(可用)2已拒绝
- /// </summary>
- public int HrAudit { get; set; }
- }
- /// <summary>
- /// 用户信息 - 个人基本信息 登陆时返回信息
- /// </summary>
- public class UserLoginInfoView
- {
- ///// <summary>
- ///// 工号
- ///// </summary>
- //public string Number { get; set; }
- /// <summary>
- /// 用户Id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// 中文姓名
- /// </summary>
- public string CnName { get; set; }
- /// <summary>
- /// 性别
- /// 0 男 1 女 2 未设置
- /// </summary>
- public int Sex { get; set; }
- /// <summary>
- /// 公司名称
- /// </summary>
- public string CompanyName { get; set; }
- /// <summary>
- /// 部门名称
- /// </summary>
- public string DepName { get; set; }
- /// <summary>
- /// 岗位名称
- /// </summary>
- public string JobName { get; set; }
- /// <summary>
- /// 邮箱
- /// </summary>
- public string Email { get; set; }
- }
- /// <summary>
- /// 用户信息 - 个人基本信息
- /// </summary>
- public class UserBasicInfoView
- {
- /// <summary>
- /// 用户Id
- /// </summary>
- public string Id { get; set; }
- /// <summary>
- /// 岗位Id
- /// </summary>
- public int JobPostId { get; set; }
- /// <summary>
- /// 性别
- /// 0 男1 女 2 未设置
- /// </summary>
- public int Sex { get; set; }
- /// <summary>
- /// 工号
- /// </summary>
- public string Number { get; set; }
- /// <summary>
- /// 公司名称
- /// </summary>
- public string CompanyName { get; set; }
- /// <summary>
- /// 部门名称
- /// </summary>
- public string DepName { get; set; }
- /// <summary>
- /// 岗位名称
- /// </summary>
- public string JobName { get; set; }
- /// <summary>
- /// 邮箱
- /// </summary>
- public string Email { get; set; }
- }
- /// <summary>
- /// 查询用户名称
- /// </summary>
- public class UserNameView
- {
- /// <summary>
- /// 用户Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 用户中文名称
- /// </summary>
- public string CnName { get; set; }
- }
- }
|