import type { FullAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core'; import type { AssetTypeDto } from '../asset-types/models'; import type { StatusDto } from '../statuses/models'; import type { VendorDto } from '../vendors/models'; import type { IdentityUserDto } from '../volo/abp/identity/models'; export interface AssetCreateDto { name: string; description?: string; manufacturer: string; model: string; serialNumber: string; purchaseDate?: string; warrantyUntil?: string; cost: number; assignedDate?: string; returnDate?: string; conditionOnReturn?: string; comments?: string; isActive: boolean; assetTypeId: string; statusId?: string; vendorId?: string; userId?: string; } export interface AssetDto extends FullAuditedEntityDto { name: string; description?: string; manufacturer: string; model: string; serialNumber: string; purchaseDate?: string; warrantyUntil?: string; cost: number; assignedDate?: string; returnDate?: string; conditionOnReturn?: string; comments?: string; isActive: boolean; assetTypeId: string; statusId?: string; vendorId?: string; userId?: string; concurrencyStamp?: string; } export interface AssetExcelDownloadDto { downloadToken?: string; filterText?: string; name?: string; description?: string; manufacturer?: string; model?: string; serialNumber?: string; purchaseDateMin?: string; purchaseDateMax?: string; warrantyUntilMin?: string; warrantyUntilMax?: string; costMin?: number; costMax?: number; assignedDateMin?: string; assignedDateMax?: string; returnDateMin?: string; returnDateMax?: string; conditionOnReturn?: string; comments?: string; isActive?: boolean; assetTypeId?: string; statusId?: string; vendorId?: string; userId?: string; } export interface AssetUpdateDto { name: string; description?: string; manufacturer: string; model: string; serialNumber: string; purchaseDate?: string; warrantyUntil?: string; cost: number; assignedDate?: string; returnDate?: string; conditionOnReturn?: string; comments?: string; isActive: boolean; assetTypeId: string; statusId?: string; vendorId?: string; userId?: string; concurrencyStamp?: string; } export interface AssetWithNavigationPropertiesDto { asset: AssetDto; assetType: AssetTypeDto; status: StatusDto; vendor: VendorDto; identityUser: IdentityUserDto; } export interface GetAssetsInput extends PagedAndSortedResultRequestDto { filterText?: string; name?: string; description?: string; manufacturer?: string; model?: string; serialNumber?: string; purchaseDateMin?: string; purchaseDateMax?: string; warrantyUntilMin?: string; warrantyUntilMax?: string; costMin?: number; costMax?: number; assignedDateMin?: string; assignedDateMax?: string; returnDateMin?: string; returnDateMax?: string; conditionOnReturn?: string; comments?: string; isActive?: boolean; assetTypeId?: string; statusId?: string; vendorId?: string; userId?: string; }