2025-12-06 17:48:10 +03:30
|
|
|
import { Type } from 'class-transformer'
|
|
|
|
|
import { IsBoolean, IsOptional, IsString } from 'class-validator'
|
|
|
|
|
|
2025-12-04 21:05:57 +03:30
|
|
|
export class UpdateStoreDto {
|
2025-12-06 17:48:10 +03:30
|
|
|
@IsOptional()
|
|
|
|
|
@IsString()
|
2025-12-04 21:05:57 +03:30
|
|
|
name?: string
|
2025-12-06 17:48:10 +03:30
|
|
|
|
|
|
|
|
@IsOptional()
|
|
|
|
|
@IsString()
|
2025-12-04 21:05:57 +03:30
|
|
|
location?: string
|
2025-12-06 17:48:10 +03:30
|
|
|
|
|
|
|
|
@IsOptional()
|
|
|
|
|
@Type(() => Boolean)
|
|
|
|
|
@IsBoolean()
|
2025-12-04 21:05:57 +03:30
|
|
|
isActive?: boolean
|
|
|
|
|
}
|