22 lines
449 B
TypeScript
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;
|
|
}
|