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

22 lines
433 B
TypeScript

import { ApiProperty } from '@nestjs/swagger';
export class TimesheetEntity {
@ApiProperty({
example: 1,
description: 'timesheet`s unique ID (auto-generated)',
})
id: number;
@ApiProperty({
example: 426433,
description: 'employee`s ID number of linked timsheet',
})
employee_id: number;
@ApiProperty({
example: true,
description: 'Timesheet`s approval status',
})
is_approved: boolean;
}