2024-06-10 22:15:20 +05:30

24 lines
486 B
TypeScript

import type { EntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
export interface AuthorDto extends EntityDto<string> {
name?: string;
birthDate?: string;
shortBio?: string;
}
export interface CreateAuthorDto {
name: string;
birthDate: string;
shortBio?: string;
}
export interface GetAuthorListDto extends PagedAndSortedResultRequestDto {
filter?: string;
}
export interface UpdateAuthorDto {
name: string;
birthDate: string;
shortBio?: string;
}