File

src/proposals/dto/update-proposal.dto.ts

Index

Properties

Properties

Readonly proposalId
Type : string
Decorators :
@IsOptional()
@Exclude()
import { PartialType } from "@nestjs/swagger";
import { Exclude } from "class-transformer";
import { IsOptional } from "class-validator";
import { CreateProposalDto } from "./create-proposal.dto";

export class UpdateProposalDto extends PartialType(CreateProposalDto) {
  @IsOptional()
  @Exclude()
  readonly proposalId: string;
}

results matching ""

    No results matching ""