12345678910111213141516171819202122232425262728 |
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- namespace MTWorkHR.Application.Models
- {
- public class UserUpdateDto
- {
- public string? Id { get; set; }
- public string? ManagerId { get; set; }
- public long? DepartmentId { get; set; }
- public long? BranchId { get; set; }
- [Required(ErrorMessage = "User Name is required")]
- public string UserName { get; set; }
- [Required(ErrorMessage = "Email is required")]
- public string Email { get; set; }
- public string FullName { get; set; }
- public string PhoneNumber { get; set; }
- public bool IsSalesman { get; set; }
- public IList<UserRoleDto>? UserRoles { get; set; }
- // public IList<UserBranchDto>? UserBranchs { get; set; }
- // public IList<UserHierarchyDto> Hierarchies { get; set; }
- // public IList<UserCycleApprovalDto>? UserCycleApprovals { get; set; }
- }
- }
|