Generator Changes at 11/25/2025 1:59:23 AM +03:30

This commit is contained in:
masoodafar-web
2025-11-25 02:03:51 +03:30
parent 87842f0b9b
commit 92a9a0e75d
77 changed files with 164 additions and 138 deletions

View File

@@ -16,5 +16,4 @@ public record CreateNewCategoryCommand : IRequest<CreateNewCategoryResponseDto>
//ترتیب نمایش
public int SortOrder { get; init; }
}
}

View File

@@ -4,5 +4,4 @@ public class CreateNewCategoryResponseDto
//شناسه
public long Id { get; set; }
}
}

View File

@@ -4,5 +4,4 @@ public record DeleteCategoryCommand : IRequest<Unit>
//شناسه
public long Id { get; init; }
}
}

View File

@@ -14,4 +14,3 @@ public class DeleteCategoryCommandValidator : AbstractValidator<DeleteCategoryCo
return result.Errors.Select(e => e.ErrorMessage);
};
}

View File

@@ -18,5 +18,4 @@ public record UpdateCategoryCommand : IRequest<Unit>
//ترتیب نمایش
public int SortOrder { get; init; }
}
}

View File

@@ -8,8 +8,7 @@ public record GetAllCategoryByFilterQuery : IRequest<GetAllCategoryByFilterRespo
//فیلتر
public GetAllCategoryByFilterFilter? Filter { get; init; }
}
public class GetAllCategoryByFilterFilter
}public class GetAllCategoryByFilterFilter
{
//شناسه
public long? Id { get; set; }
@@ -28,4 +27,3 @@ public class GetAllCategoryByFilterFilter
//ترتیب نمایش
public int? SortOrder { get; set; }
}

View File

@@ -12,4 +12,3 @@ public class GetAllCategoryByFilterQueryValidator : AbstractValidator<GetAllCate
return result.Errors.Select(e => e.ErrorMessage);
};
}

View File

@@ -6,8 +6,7 @@ public class GetAllCategoryByFilterResponseDto
//مدل خروجی
public List<GetAllCategoryByFilterResponseModel>? Models { get; set; }
}
public class GetAllCategoryByFilterResponseModel
}public class GetAllCategoryByFilterResponseModel
{
//شناسه
public long Id { get; set; }
@@ -26,4 +25,3 @@ public class GetAllCategoryByFilterResponseModel
//ترتیب نمایش
public int SortOrder { get; set; }
}

View File

@@ -4,5 +4,4 @@ public record GetCategoryQuery : IRequest<GetCategoryResponseDto>
//شناسه
public long Id { get; init; }
}
}

View File

@@ -14,4 +14,3 @@ public class GetCategoryQueryValidator : AbstractValidator<GetCategoryQuery>
return result.Errors.Select(e => e.ErrorMessage);
};
}

View File

@@ -18,5 +18,4 @@ public class GetCategoryResponseDto
//ترتیب نمایش
public int SortOrder { get; set; }
}
}