targo-backend/src/modules/shift-codes/dtos/swagger-entities/shift-codes.entity.ts
2025-07-22 15:56:01 -04:00

22 lines
449 B
TypeScript

import { ApiProperty } from '@nestjs/swagger';
export class ShiftCodesEntity {
@ApiProperty({
example: 1,
description: 'Unique ID of a shift-code (auto-generated)',
})
id: number;
@ApiProperty({
example: 'Night',
description: 'Type of shifts for an account perception',
})
shift_type: string;
@ApiProperty({
example: 'G2',
description: 'bank`s code related to the type of shift',
})
bank_code: string;
}