Skip to content

Commit

Permalink
make some changes on Dtos
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-shirbandi committed Nov 5, 2021
1 parent b1d0c74 commit f6bde8e
Show file tree
Hide file tree
Showing 158 changed files with 351 additions and 351 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Dtos.Users;
using TaskoMask.Application.Core.Dtos.Common.Users;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Operators
namespace TaskoMask.Application.Core.Dtos.Administration.Operators
{
public class OperatorBasicInfoDto: UserBasicInfoDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Operators
namespace TaskoMask.Application.Core.Dtos.Administration.Operators
{
public class OperatorOutputDto : OperatorBasicInfoDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


using TaskoMask.Application.Core.Dtos.Common.Users;

namespace TaskoMask.Application.Core.Dtos.Administration.Operators
{
public class OperatorUpsertDto : UserUpsertDto
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using TaskoMask.Application.Core.Resources;
using System.ComponentModel.DataAnnotations;

namespace TaskoMask.Application.Core.Dtos.Permissions
namespace TaskoMask.Application.Core.Dtos.Administration.Permissions
{
public class PermissionBasicInfoDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TaskoMask.Application.Core.Dtos.Permissions
namespace TaskoMask.Application.Core.Dtos.Administration.Permissions
{
public class PermissionOutputDto : PermissionBasicInfoDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

namespace TaskoMask.Application.Core.Dtos.Administration.Permissions
{
public class PermissionUpsertDto : PermissionBasicInfoDto
{

}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Roles
namespace TaskoMask.Application.Core.Dtos.Administration.Roles
{
public abstract class RoleBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TaskoMask.Application.Core.Dtos.Base;
using TaskoMask.Application.Core.Dtos.Common.Base;

namespace TaskoMask.Application.Core.Dtos.Roles
namespace TaskoMask.Application.Core.Dtos.Administration.Roles
{
public class RoleBasicInfoDto: RoleBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Roles
namespace TaskoMask.Application.Core.Dtos.Administration.Roles
{
public class RoleOutputDto : RoleBasicInfoDto
{
Expand Down
9 changes: 9 additions & 0 deletions Application.Core/Dtos/Administration/Roles/RoleUpsertDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@


namespace TaskoMask.Application.Core.Dtos.Administration.Roles
{
public class RoleUpsertDto : RoleBaseDto
{

}
}
9 changes: 0 additions & 9 deletions Application.Core/Dtos/Boards/BoardInputDto.cs

This file was deleted.

8 changes: 0 additions & 8 deletions Application.Core/Dtos/Cards/CardInputDto.cs

This file was deleted.

9 changes: 0 additions & 9 deletions Application.Core/Dtos/Cards/CardReportDto.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Base
namespace TaskoMask.Application.Core.Dtos.Common.Base
{
public class CreationTimeDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Users
namespace TaskoMask.Application.Core.Dtos.Common.Users
{
public abstract class UserBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Dtos.Base;
using TaskoMask.Application.Core.Dtos.Common.Base;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Users
namespace TaskoMask.Application.Core.Dtos.Common.Users
{
public class UserBasicInfoDto: UserBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Users
namespace TaskoMask.Application.Core.Dtos.Common.Users
{
public class UserChangePasswordDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Users
namespace TaskoMask.Application.Core.Dtos.Common.Users
{
public class UserLoginDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Users
namespace TaskoMask.Application.Core.Dtos.Common.Users
{
public class UserResetPasswordDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Users
namespace TaskoMask.Application.Core.Dtos.Common.Users
{
public class UserInputDto: UserBaseDto
public class UserUpsertDto: UserBaseDto
{
[Display(Name = nameof(ApplicationMetadata.Password), ResourceType = typeof(ApplicationMetadata))]
[Required(ErrorMessageResourceName = nameof(ApplicationMetadata.Required), ErrorMessageResourceType = typeof(ApplicationMetadata))]
Expand Down
8 changes: 0 additions & 8 deletions Application.Core/Dtos/Members/MemberBasicInfoDto.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Application.Core/Dtos/Operators/OperatorInputDto.cs

This file was deleted.

6 changes: 0 additions & 6 deletions Application.Core/Dtos/Organizations/OrganizationInputDto.cs

This file was deleted.

8 changes: 0 additions & 8 deletions Application.Core/Dtos/Permissions/PermissionInputDto.cs

This file was deleted.

6 changes: 0 additions & 6 deletions Application.Core/Dtos/Projects/ProjectInputDto.cs

This file was deleted.

9 changes: 0 additions & 9 deletions Application.Core/Dtos/Roles/RoleInputDto.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text.Json.Serialization;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Boards
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Boards
{
public abstract class BoardBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TaskoMask.Application.Core.Dtos.Base;
using TaskoMask.Application.Core.Dtos.Common.Base;

namespace TaskoMask.Application.Core.Dtos.Boards
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Boards
{
public class BoardBasicInfoDto: BoardBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Dtos.Tasks;
using TaskoMask.Application.Core.Dtos.TaskManagement.Tasks;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Boards
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Boards
{
public class BoardReportDto: TaskReportDto
{
Expand Down
9 changes: 9 additions & 0 deletions Application.Core/Dtos/TaskManagement/Boards/BoardUpsertDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@


namespace TaskoMask.Application.Core.Dtos.TaskManagement.Boards
{
public class BoardUpsertDto : BoardBaseDto
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using TaskoMask.Application.Core.Resources;
using TaskoMask.Domain.Core.Enums;

namespace TaskoMask.Application.Core.Dtos.Cards
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Cards
{
public abstract class CardBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TaskoMask.Application.Core.Dtos.Base;
using TaskoMask.Application.Core.Dtos.Common.Base;

namespace TaskoMask.Application.Core.Dtos.Cards
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Cards
{
public class CardBasicInfoDto: CardBaseDto
{
Expand Down
9 changes: 9 additions & 0 deletions Application.Core/Dtos/TaskManagement/Cards/CardReportDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using TaskoMask.Application.Core.Dtos.TaskManagement.Tasks;

namespace TaskoMask.Application.Core.Dtos.TaskManagement.Cards
{
public class CardReportDto: TaskReportDto
{

}
}
8 changes: 8 additions & 0 deletions Application.Core/Dtos/TaskManagement/Cards/CardUpsertDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

namespace TaskoMask.Application.Core.Dtos.TaskManagement.Cards
{
public class CardUpsertDto: CardBaseDto
{

}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Tasks
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Tasks
{
public abstract class TaskBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TaskoMask.Application.Core.Dtos.Base;
using TaskoMask.Application.Core.Dtos.Common.Base;

namespace TaskoMask.Application.Core.Dtos.Tasks
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Tasks
{
public class TaskBasicInfoDto: TaskBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Tasks
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Tasks
{
public class TaskReportDto
{
Expand Down
6 changes: 6 additions & 0 deletions Application.Core/Dtos/TaskManagement/Tasks/TaskUpsertDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace TaskoMask.Application.Core.Dtos.TaskManagement.Tasks
{
public class TaskUpsertDto: TaskBaseDto
{
}
}
6 changes: 0 additions & 6 deletions Application.Core/Dtos/Tasks/TaskInputDto.cs

This file was deleted.

8 changes: 8 additions & 0 deletions Application.Core/Dtos/Team/Members/MemberBasicInfoDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using TaskoMask.Application.Core.Dtos.Common.Users;

namespace TaskoMask.Application.Core.Dtos.Team.Members
{
public class MemberBasicInfoDto : UserBasicInfoDto
{
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Members
namespace TaskoMask.Application.Core.Dtos.Team.Members
{
public class MemberRegisterDto
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text.Json.Serialization;
using TaskoMask.Application.Core.Resources;

namespace TaskoMask.Application.Core.Dtos.Organizations
namespace TaskoMask.Application.Core.Dtos.Team.Organizations
{
public abstract class OrganizationBaseDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TaskoMask.Application.Core.Dtos.Base;
using TaskoMask.Application.Core.Dtos.Common.Base;

namespace TaskoMask.Application.Core.Dtos.Organizations
namespace TaskoMask.Application.Core.Dtos.Team.Organizations
{
public class OrganizationBasicInfoDto : OrganizationBaseDto
{
Expand Down
Loading

0 comments on commit f6bde8e

Please sign in to comment.