initial: standalone repo from monorepo split
This commit is contained in:
19
src/support/dto/update-ticket.dto.ts
Normal file
19
src/support/dto/update-ticket.dto.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { IsOptional, IsIn, IsString } from 'class-validator';
|
||||
|
||||
export class UpdateTicketDto {
|
||||
@IsOptional()
|
||||
@IsIn(['low', 'normal', 'high', 'urgent'])
|
||||
priority?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsIn(['open', 'in_progress', 'waiting_tenant', 'resolved', 'closed'])
|
||||
status?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
assignedToId?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsIn(['billing', 'technical', 'account', 'general', 'feature_request'])
|
||||
category?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user