-
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.
Merge pull request #90 from SWD392-Domus/hotfix/getting-quotations-pe…
…rformance-issue Hotfix/getting quotations performance issue
- Loading branch information
Showing
11 changed files
with
82 additions
and
34 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
2 changes: 2 additions & 0 deletions
2
Domus.Api/Scripts/28.Add_Total_Price_To_QuotationRevision.sql
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,2 @@ | ||
ALTER TABLE [QuotationRevision] | ||
ADD [TotalPrice] [FLOAT] NOT NULL DEFAULT 0 |
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
8 changes: 8 additions & 0 deletions
8
Domus.Domain/Dtos/Quotations/DtoQuotationRevisionWithPriceAndVersion.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,8 @@ | ||
namespace Domus.Domain.Dtos.Quotations; | ||
|
||
public class DtoQuotationRevisionWithPriceAndVersion | ||
{ | ||
public Guid Id { get; set; } | ||
public int Version { get; set; } | ||
public double TotalPrice { get; set; } | ||
} |
16 changes: 16 additions & 0 deletions
16
Domus.Domain/Dtos/Quotations/DtoQuotationWithoutProductsAndServices.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,16 @@ | ||
namespace Domus.Domain.Dtos.Quotations; | ||
|
||
public class DtoQuotationWithoutProductsAndServices | ||
{ | ||
public Guid Id { get; set; } | ||
|
||
public DtoDomusUser Customer { get; set; } = null!; | ||
|
||
public DtoDomusUser Staff { get; set; } = null!; | ||
|
||
public string Status { get; set; } = null!; | ||
|
||
public double TotalPrice { get; set; } | ||
|
||
public DateTime? ExpireAt { 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