apps/recallassess/recallassess-api/src/api/client/learning-group/dto/course-license-utilization.dto.ts
One row of course license utilization (client-safe; only exposed fields survive serialization).
Properties |
| availableLicenses |
Type : number
|
Decorators :
@Expose()
|
| courseId |
Type : number
|
Decorators :
@Expose()
|
| courseName |
Type : string
|
Decorators :
@Expose()
|
| licensesCurrentlyUsed |
Type : number
|
Decorators :
@Expose()
|
| totalLicensesAllocated |
Type : number
|
Decorators :
@Expose()
|
| utilizationPercentage |
Type : number
|
Decorators :
@Expose()
|
import { ApiProperty } from "@nestjs/swagger";
import { Exclude, Expose } from "class-transformer";
/**
* One row of course license utilization (client-safe; only exposed fields survive serialization).
*/
@Exclude()
export class CourseLicenseUtilizationRowDto {
@Expose()
@ApiProperty()
courseId!: number;
@Expose()
@ApiProperty()
courseName!: string;
@Expose()
@ApiProperty()
totalLicensesAllocated!: number;
@Expose()
@ApiProperty()
licensesCurrentlyUsed!: number;
@Expose()
@ApiProperty()
availableLicenses!: number;
@Expose()
@ApiProperty()
utilizationPercentage!: number;
}