using LearningOfficer.OA.Common.Enums; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LearningOfficer.OA.Common.Dtos.User { /// /// 部长新增 /// public class MinisterUserAddDto { /// /// 备 注:账号 /// 默认值: /// public string Account { get; set; } = null!; /// /// 备 注:密码 /// 默认值: /// public string Password { get; set; } /// /// 备 注:姓名 /// 默认值: /// public string RealName { get; set; } = null!; /// /// 备 注:电话号码 /// 默认值: /// public string? Phone { get; set; } ///// ///// 云校id ///// //public long CloudSchoolId { get; set; } /// /// 云校id /// public List CloudSchoolIds { get; set; } = null!; /// /// 类型 /// public SysRoleEnum RoleEnum { get; set; } } public class MinisterUserUpdateDto { public long Id { get; set; } /// /// 备 注:账号 /// 默认值: /// public string Account { get; set; } = null!; /// /// 备 注:姓名 /// 默认值: /// public string RealName { get; set; } = null!; /// /// 备 注:电话号码 /// 默认值: /// public string? Phone { get; set; } ///// ///// 云校id ///// //public long CloudSchoolId { get; set; } /// /// 云校id /// public List CloudSchoolIds { get; set; } = null!; } public class MinisterUserViewDto { public long Id { get; set; } /// /// 备 注:账号 /// 默认值: /// public string Account { get; set; } = null!; /// /// 备 注:姓名 /// 默认值: /// public string RealName { get; set; } = null!; /// /// 备 注:电话号码 /// 默认值: /// public string? Phone { get; set; } /// /// 云校id(部长),只在列表用一下 /// public long CloudSchoolId { get; set; } /// /// 云校id /// public List CloudSchoolIds { get; set; }=new List(); /// /// 类型 /// public SysRoleEnum RoleEnum { get; set; } /// /// 云校名称(部长与总部长的) /// public List CloudSchoolNames { get; set; } = new List(); //public string CloudSchoolName { get; set; } /// /// 是否导入IM /// public bool ImImport { get; set; } } public class MinisterUserPasswordDto { public long Id { get; set; } public string NewPassword { get; set; } } }