update space-model service

This commit is contained in:
hannathkadher
2025-02-15 11:33:10 +04:00
parent a99b759882
commit 9eb9b92be3
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
export class CreateTagModelDto {
@ApiProperty({
description: 'Tag models associated with the space or subspace models',
description: 'Tag associated with the space or subspace models',
example: 'Temperature Control',
})
@IsNotEmpty()

View File

@ -14,12 +14,14 @@ import {
import { ProductService } from 'src/product/services';
import { ModifyAction } from '@app/common/constants/modify-action.enum';
import { ModifiedTagsModelPayload } from '../interfaces';
import { NewTagRepository } from '@app/common/modules/tag/repositories/tag-repository';
@Injectable()
export class TagModelService {
constructor(
private readonly tagModelRepository: TagModelRepository,
private readonly productService: ProductService,
private readonly tagRepository: NewTagRepository,
) {}
async createTags(