-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66d58db
commit 1560694
Showing
142 changed files
with
1,142 additions
and
2,568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...e/Optivem.Template.Core.Application.Interface/Customers/Requests/DeleteCustomerRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using Optivem.Framework.Core.Common; | ||
using Optivem.Template.Core.Application.Customers.Responses; | ||
using System; | ||
|
||
namespace Optivem.Template.Core.Application.Customers.Requests | ||
{ | ||
public class DeleteCustomerRequest : IRequest<DeleteCustomerResponse> | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
} | ||
} |
3 changes: 2 additions & 1 deletion
3
...ore/Optivem.Template.Core.Application.Interface/Customers/Requests/FindCustomerRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using Optivem.Framework.Core.Common; | ||
using Optivem.Template.Core.Application.Customers.Responses; | ||
using System; | ||
|
||
namespace Optivem.Template.Core.Application.Customers.Requests | ||
{ | ||
public class FindCustomerRequest : IRequest<FindCustomerResponse> | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
} | ||
} |
3 changes: 2 additions & 1 deletion
3
...e/Optivem.Template.Core.Application.Interface/Customers/Requests/UpdateCustomerRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...Optivem.Template.Core.Application.Interface/Customers/Responses/CreateCustomerResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...e/Optivem.Template.Core.Application.Interface/Customers/Responses/FindCustomerResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...Optivem.Template.Core.Application.Interface/Customers/Responses/UpdateCustomerResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...c/Core/Optivem.Template.Core.Application.Interface/Orders/Requests/ArchiveOrderRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using Optivem.Framework.Core.Common; | ||
using Optivem.Template.Core.Application.Orders.Responses; | ||
using System; | ||
|
||
namespace Optivem.Template.Core.Application.Orders.Requests | ||
{ | ||
public class ArchiveOrderRequest : IRequest<ArchiveOrderResponse> | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
} | ||
} |
3 changes: 2 additions & 1 deletion
3
...rc/Core/Optivem.Template.Core.Application.Interface/Orders/Requests/CancelOrderRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using Optivem.Framework.Core.Common; | ||
using Optivem.Template.Core.Application.Orders.Responses; | ||
using System; | ||
|
||
namespace Optivem.Template.Core.Application.Orders.Requests | ||
{ | ||
public class CancelOrderRequest : IRequest<CancelOrderResponse> | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
...rc/Core/Optivem.Template.Core.Application.Interface/Orders/Requests/CreateOrderRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
.../src/Core/Optivem.Template.Core.Application.Interface/Orders/Requests/FindOrderRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...rc/Core/Optivem.Template.Core.Application.Interface/Orders/Requests/SubmitOrderRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using Optivem.Framework.Core.Common; | ||
using Optivem.Template.Core.Application.Orders.Responses; | ||
using System; | ||
|
||
namespace Optivem.Template.Core.Application.Orders.Requests | ||
{ | ||
public class SubmitOrderRequest : IRequest<SubmitOrderResponse> | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
} | ||
} |
7 changes: 4 additions & 3 deletions
7
...rc/Core/Optivem.Template.Core.Application.Interface/Orders/Requests/UpdateOrderRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...Core/Optivem.Template.Core.Application.Interface/Orders/Responses/ArchiveOrderResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
namespace Optivem.Template.Core.Application.Orders.Responses | ||
using System; | ||
|
||
namespace Optivem.Template.Core.Application.Orders.Responses | ||
{ | ||
public class ArchiveOrderResponse | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
.../Core/Optivem.Template.Core.Application.Interface/Orders/Responses/CancelOrderResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
namespace Optivem.Template.Core.Application.Orders.Responses | ||
using System; | ||
|
||
namespace Optivem.Template.Core.Application.Orders.Responses | ||
{ | ||
public class CancelOrderResponse | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
} | ||
} |
16 changes: 9 additions & 7 deletions
16
.../Core/Optivem.Template.Core.Application.Interface/Orders/Responses/CreateOrderResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
using System.Collections.Generic; | ||
using Optivem.Template.Core.Common.Orders; | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Optivem.Template.Core.Application.Orders.Responses | ||
{ | ||
public class CreateOrderResponse | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
|
||
public int CustomerId { get; set; } | ||
public Guid CustomerId { get; set; } | ||
|
||
public byte StatusId { get; set; } | ||
public OrderStatus Status { get; set; } | ||
|
||
public List<CreateOrderItemResponse> OrderItems { get; set; } | ||
} | ||
|
||
public class CreateOrderItemResponse | ||
{ | ||
public int Id { get; set; } | ||
public Guid Id { get; set; } | ||
|
||
public int ProductId { get; set; } | ||
public Guid ProductId { get; set; } | ||
|
||
public decimal Quantity { get; set; } | ||
|
||
public byte StatusId { get; set; } | ||
public OrderItemStatus Status { get; set; } | ||
} | ||
} |
Oops, something went wrong.