-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into main
- Loading branch information
Showing
37 changed files
with
1,437 additions
and
97 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
10 changes: 10 additions & 0 deletions
10
...on.Contracts/EasyAbp/BookingService/AssetPeriodSchemes/Dtos/UpdateAssetPeriodSchemeDto.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System; | ||
using Volo.Abp.ObjectExtending; | ||
|
||
namespace EasyAbp.BookingService.AssetPeriodSchemes.Dtos; | ||
|
||
[Serializable] | ||
public class UpdateAssetPeriodSchemeDto : ExtensibleObject | ||
{ | ||
public DateTime Date { 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
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
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
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
12 changes: 12 additions & 0 deletions
12
...ngService.Domain/EasyAbp/BookingService/PeriodSchemes/CannotDeletePeriodInUseException.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using Volo.Abp; | ||
|
||
namespace EasyAbp.BookingService.PeriodSchemes; | ||
|
||
public class CannotDeletePeriodInUseException : BusinessException | ||
{ | ||
public CannotDeletePeriodInUseException(Guid id) : base(BookingServiceErrorCodes.CannotDeletePeriodInUse) | ||
{ | ||
WithData(nameof(id), id); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ice.Domain/EasyAbp/BookingService/PeriodSchemes/CannotDeletePeriodSchemeInUseException.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using Volo.Abp; | ||
|
||
namespace EasyAbp.BookingService.PeriodSchemes; | ||
|
||
public class CannotDeletePeriodSchemeInUseException : BusinessException | ||
{ | ||
public CannotDeletePeriodSchemeInUseException(Guid id, string name) : base(BookingServiceErrorCodes | ||
.CannotDeletePeriodSchemeInUse) | ||
{ | ||
WithData(nameof(id), id); | ||
WithData(nameof(name), name); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ngService.Domain/EasyAbp/BookingService/PeriodSchemes/CannotUpdatePeriodInUseException.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using Volo.Abp; | ||
|
||
namespace EasyAbp.BookingService.PeriodSchemes; | ||
|
||
public class CannotUpdatePeriodInUseException : BusinessException | ||
{ | ||
public CannotUpdatePeriodInUseException(Guid id) : base(BookingServiceErrorCodes.CannotUpdatePeriodInUse) | ||
{ | ||
WithData(nameof(id), id); | ||
} | ||
} |
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
Oops, something went wrong.