File

apps/recallassess/recallassess-api/src/api/client/participant-group/dto/participant-group.dto.ts

Index

Properties

Properties

color_code
Type : string | null
Decorators :
@Expose()
Optional created_at
Type : Date
Decorators :
@Expose()
description
Type : string | null
Decorators :
@Expose()
id
Type : number
Decorators :
@Expose()
last_activity
Type : string | null
Decorators :
@Expose()
name
Type : string
Decorators :
@Expose()
participant_count
Type : number
Decorators :
@Expose()
Optional updated_at
Type : Date
Decorators :
@Expose()
import { Exclude, Expose } from "class-transformer";

@Exclude()
export class CLParticipantGroupDto {
  @Expose()
  id!: number;

  @Expose()
  name!: string;

  @Expose()
  description!: string | null;

  @Expose()
  color_code!: string | null;

  @Expose()
  participant_count!: number;

  @Expose()
  last_activity!: string | null;

  @Expose()
  created_at?: Date;

  @Expose()
  updated_at?: Date;
}

results matching ""

    No results matching ""