mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-10-07 12:48:57 +00:00
39 lines
844 B
C#
39 lines
844 B
C#
|
|
using ProposalSystem.Domain.Entities;
|
||
|
|
|
||
|
|
namespace ProposalSystem.Application.DTOs;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// PR5: DTOs for the Pricing Library CRUD endpoints.
|
||
|
|
/// </summary>
|
||
|
|
public record PricingLibraryItemResponse(
|
||
|
|
Guid Id,
|
||
|
|
string Title,
|
||
|
|
string? Description,
|
||
|
|
ServiceCategory ServiceCategory,
|
||
|
|
string? Unit,
|
||
|
|
decimal? UnitPrice,
|
||
|
|
string? Keywords,
|
||
|
|
string Source,
|
||
|
|
DateTime CreatedAt,
|
||
|
|
DateTime UpdatedAt
|
||
|
|
);
|
||
|
|
|
||
|
|
public record CreatePricingLibraryItemRequest(
|
||
|
|
string Title,
|
||
|
|
string? Description,
|
||
|
|
ServiceCategory ServiceCategory,
|
||
|
|
string? Unit,
|
||
|
|
decimal? UnitPrice,
|
||
|
|
string? Keywords,
|
||
|
|
string? Source
|
||
|
|
);
|
||
|
|
|
||
|
|
public record UpdatePricingLibraryItemRequest(
|
||
|
|
string? Title,
|
||
|
|
string? Description,
|
||
|
|
ServiceCategory? ServiceCategory,
|
||
|
|
string? Unit,
|
||
|
|
decimal? UnitPrice,
|
||
|
|
string? Keywords
|
||
|
|
);
|