using DocumentServiceAPI.Model.cyDocumentModel; using DocumentServiceAPI.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DocumentServiceAPI.Application.UserAndLogin.ViewMode { /// /// 员工搜索 参数 /// public class EmployeePageSearch : PageBaseSearch { } /// /// 单位详情 /// public class UnitInfoVM: Document_TenderUnit { } /// /// 租户详情 /// public class TenderInfoVM { /// /// ID /// [Display(Name = "ID ")] [SugarColumn(ColumnDescription = "ID ", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 租户名 /// [Display(Name = "租户名 ")] [SugarColumn(ColumnDescription = "租户名 ", Length = 20)] public string ItCode { get; set; } /// /// 名称 /// [Display(Name = "名称 ")] [SugarColumn(ColumnDescription = "名称 ", Length = 200)] public string? Name { get; set; } /// /// 描述 /// [Display(Name = "描述 ")] [SugarColumn(ColumnDescription = "描述 ")] public string? Description { get; set; } /// /// 标注 /// [Display(Name = "标注")] [SugarColumn(ColumnDescription = "标注")] public string? ReMark { get; set; } ///// ///// 数据库链接字符串 备用 ///// //[Display(Name = "数据库链接字符串")] //[SugarColumn(ColumnDescription = "数据库链接字符串")] //public string? ConnectionString { get; set; } ///// ///// 数据库类型 备用 ///// //[Display(Name = "数据库类型")] //[SugarColumn(ColumnDescription = "数据库类型")] //public string? DbType { get; set; } ///// ///// 密码 ///// //[SugarColumn(Length = 30)] //public string? PsW { get; set; } } public class EmployeeInfoVM /*:Document_EmployeeInfo*/ { /// /// 员工ID /// public int? EmployeeId { get; set; } /// /// 员工名称 /// public string EmployeeName { get; set; } /// /// 工作职位 /// public string Job { get; set; } /// /// 电话 /// public string Phone { get; set; } /// /// 是否在工作 /// public int? IsWork { get; set; } /// /// 离开时间 /// public DateTime? LeaveTime { get; set; } /// /// 证件正面 /// public string CardPositive { get; set; } /// /// 证件正面版本号 /// public string CardPositiveVersionNo { get; set; } /// /// 证件正面大小 /// public int? CardPositiveSize { get; set; } /// /// 最后更新时间 /// public DateTime? LastUpdateTime { get; set; } /// /// 最后更新人 /// public string LastUpdateName { get; set; } /// /// 用户名 /// public string UserName { get; set; } /// /// 用户密码 /// public string UserPassWord { get; set; } /// /// 登录时间 /// public DateTime? LoginTime { get; set; } /// /// 是否登录 /// public bool? IsLogin { get; set; } /// /// 建议标志 /// public int? AdviseFlag { get; set; } /// /// 用户ID /// public int? UserId { get; set; } } /// /// 用户详情 /// public class RetUserInfo { /// /// 单位信息 /// public UnitInfoVM UnitInfo { get; set; } /// /// 租户信息 /// public TenderInfoVM TenderInfo{ get; set; } /// /// 员工信息 /// public EmployeeInfoVM EmployeeInfo { get; set; } } }