import { client } from '@prisma/client';
import { ApiProperty } from '@nestjs/swagger';

export class ClientEntity implements client {
	@ApiProperty()
	id: number;

	@ApiProperty()
	name: string;

	@ApiProperty()
	createdAt: Date;

	@ApiProperty()
	updatedAt: Date;

	@ApiProperty()
	notes: string;

	@ApiProperty()
	address1: string;

	@ApiProperty()
	address2: string;

	@ApiProperty()
	city: string;

	@ApiProperty()
	state: string;

	@ApiProperty()
	postcode: string;

	@ApiProperty()
	country: string;

	@ApiProperty()
	phone: string;

	@ApiProperty()
	email: string;
}
