Generator Changes at 11/16/2025 1:18:11 AM +03:30

This commit is contained in:
masoodafar-web
2025-11-16 01:19:27 +03:30
parent 84aa7c20e6
commit ae749341d1
6 changed files with 25 additions and 10 deletions

View File

@@ -8,6 +8,6 @@ public record CreateNewContractCommand : IRequest<CreateNewContractResponseDto>
//متن قرارداد
public string HtmlContent { get; init; }
//نوع قرارداد
public UnknownEnumType Type { get; init; }
public ContractType Type { get; init; }
}

View File

@@ -10,6 +10,6 @@ public record UpdateContractCommand : IRequest<Unit>
//متن قرارداد
public string HtmlContent { get; init; }
//نوع قرارداد
public UnknownEnumType Type { get; init; }
public ContractType Type { get; init; }
}

View File

@@ -19,5 +19,5 @@ public record GetAllContractByFilterQuery : IRequest<GetAllContractByFilterRespo
//متن قرارداد
public string? HtmlContent { get; set; }
//نوع قرارداد
public UnknownEnumType Type { get; set; }
public ContractType? Type { get; set; }
}

View File

@@ -17,5 +17,5 @@ public class GetAllContractByFilterResponseDto
//متن قرارداد
public string HtmlContent { get; set; }
//نوع قرارداد
public UnknownEnumType Type { get; set; }
public ContractType Type { get; set; }
}

View File

@@ -10,6 +10,6 @@ public class GetContractResponseDto
//متن قرارداد
public string HtmlContent { get; set; }
//نوع قرارداد
public UnknownEnumType Type { get; set; }
public ContractType Type { get; set; }
}

View File

@@ -49,7 +49,10 @@ message CreateNewContractRequest
string title = 1;
string description = 2;
string html_content = 3;
Unknown type = 4;
oneof Type_item
{
messages.ContractType type = 4;
}
}
message CreateNewContractResponse
{
@@ -61,7 +64,10 @@ message UpdateContractRequest
string title = 2;
string description = 3;
string html_content = 4;
Unknown type = 5;
oneof Type_item
{
messages.ContractType type = 5;
}
}
message DeleteContractRequest
{
@@ -77,7 +83,10 @@ message GetContractResponse
string title = 2;
string description = 3;
string html_content = 4;
Unknown type = 5;
oneof Type_item
{
messages.ContractType type = 5;
}
}
message GetAllContractByFilterRequest
{
@@ -91,7 +100,10 @@ message GetAllContractByFilterFilter
google.protobuf.StringValue title = 2;
google.protobuf.StringValue description = 3;
google.protobuf.StringValue html_content = 4;
Unknown type = 5;
oneof Type_item
{
messages.ContractType type = 5;
}
}
message GetAllContractByFilterResponse
{
@@ -104,5 +116,8 @@ message GetAllContractByFilterResponseModel
string title = 2;
string description = 3;
string html_content = 4;
Unknown type = 5;
oneof Type_item
{
messages.ContractType type = 5;
}
}