Generator Changes at 11/25/2025 1:59:23 AM +03:30
This commit is contained in:
@@ -16,5 +16,4 @@ public record CreateNewCategoryCommand : IRequest<CreateNewCategoryResponseDto>
|
||||
//ترتیب نمایش
|
||||
public int SortOrder { get; init; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -4,5 +4,4 @@ public class CreateNewCategoryResponseDto
|
||||
//شناسه
|
||||
public long Id { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -4,5 +4,4 @@ public record DeleteCategoryCommand : IRequest<Unit>
|
||||
//شناسه
|
||||
public long Id { get; init; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,4 +14,3 @@ public class DeleteCategoryCommandValidator : AbstractValidator<DeleteCategoryCo
|
||||
return result.Errors.Select(e => e.ErrorMessage);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -18,5 +18,4 @@ public record UpdateCategoryCommand : IRequest<Unit>
|
||||
//ترتیب نمایش
|
||||
public int SortOrder { get; init; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@ public class GetAllCategoryByFilterQueryValidator : AbstractValidator<GetAllCate
|
||||
return result.Errors.Select(e => e.ErrorMessage);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
@@ -4,5 +4,4 @@ public record GetCategoryQuery : IRequest<GetCategoryResponseDto>
|
||||
//شناسه
|
||||
public long Id { get; init; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,4 +14,3 @@ public class GetCategoryQueryValidator : AbstractValidator<GetCategoryQuery>
|
||||
return result.Errors.Select(e => e.ErrorMessage);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -18,5 +18,4 @@ public class GetCategoryResponseDto
|
||||
//ترتیب نمایش
|
||||
public int SortOrder { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user