From ae749341d1ae403fef3927b822261548c90ba7fa Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Sun, 16 Nov 2025 01:19:27 +0330 Subject: [PATCH] =?UTF-8?q?Generator=20Changes=20at=2011/16/2025=201:18:11?= =?UTF-8?q?=E2=80=AFAM=20+03:30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CreateNewContractCommand.cs | 2 +- .../UpdateContract/UpdateContractCommand.cs | 2 +- .../GetAllContractByFilterQuery.cs | 2 +- .../GetAllContractByFilterResponseDto.cs | 2 +- .../GetContract/GetContractResponseDto.cs | 2 +- .../Protos/contract.proto | 25 +++++++++++++++---- 6 files changed, 25 insertions(+), 10 deletions(-) diff --git a/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs b/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs index 725bea9..97657c5 100644 --- a/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs +++ b/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs @@ -8,6 +8,6 @@ public record CreateNewContractCommand : IRequest //متن قرارداد public string HtmlContent { get; init; } //نوع قرارداد - public UnknownEnumType Type { get; init; } + public ContractType Type { get; init; } } \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs b/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs index e938d0a..6929026 100644 --- a/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs +++ b/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs @@ -10,6 +10,6 @@ public record UpdateContractCommand : IRequest //متن قرارداد public string HtmlContent { get; init; } //نوع قرارداد - public UnknownEnumType Type { get; init; } + public ContractType Type { get; init; } } \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs b/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs index b8f2e60..854733e 100644 --- a/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs +++ b/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs @@ -19,5 +19,5 @@ public record GetAllContractByFilterQuery : IRequest