85 lines
1.9 KiB
TypeScript
85 lines
1.9 KiB
TypeScript
export interface Category {
|
|
id: string;
|
|
name: string;
|
|
count: number;
|
|
}
|
|
|
|
export interface Asset {
|
|
id: string;
|
|
categoryName: string;
|
|
name: string;
|
|
quantity: number;
|
|
internalCode: string;
|
|
serialNumber: string;
|
|
department: string;
|
|
user: string;
|
|
acquisitionDate: string;
|
|
status: string;
|
|
location: string;
|
|
}
|
|
|
|
export interface HardwareSpec {
|
|
id: string;
|
|
pcName: string;
|
|
department: string;
|
|
userName: string;
|
|
os: string;
|
|
cpu: string;
|
|
memory: string;
|
|
disk: string;
|
|
macAddress: string;
|
|
ipAddress: string;
|
|
graphicCard: string;
|
|
}
|
|
|
|
export const mockCategories: Category[] = [
|
|
{ id: '1', name: 'PC', count: 1 },
|
|
{ id: '2', name: '모니터', count: 5 },
|
|
{ id: '3', name: '노트북', count: 2 },
|
|
];
|
|
|
|
export const mockAssets: Asset[] = [
|
|
{
|
|
id: '1',
|
|
categoryName: 'PC',
|
|
name: 'PC',
|
|
quantity: 1,
|
|
internalCode: 'PC20230411001',
|
|
serialNumber: 'SN-001-A1',
|
|
department: '한맥기술',
|
|
user: '이관형',
|
|
acquisitionDate: '2023-04-11',
|
|
status: '정상',
|
|
location: '본사 3층',
|
|
},
|
|
];
|
|
|
|
export const mockHardwareSpecs: HardwareSpec[] = [
|
|
{
|
|
id: '1',
|
|
pcName: 'DESKTOP-G1DVL26',
|
|
department: '한맥기술',
|
|
userName: '이준권',
|
|
os: 'Microsoft Windows 10 Pro 10.0.19044',
|
|
cpu: 'Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz',
|
|
memory: 'Samsung 4 GB / Samsung 4 GB',
|
|
disk: 'ST2000DM001-1CH164 1.82 TB / Samsung SSD 850 EVO 120GB',
|
|
macAddress: '0862664B98A3',
|
|
ipAddress: '172.16.9.68',
|
|
graphicCard: 'NVIDIA GeForce GTX 750',
|
|
},
|
|
{
|
|
id: '2',
|
|
pcName: 'DESKTOP-BNBPOUP',
|
|
department: '한맥기술',
|
|
userName: '주완기 연구원',
|
|
os: 'Microsoft Windows 10 Pro 10.0.19045',
|
|
cpu: 'Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz',
|
|
memory: 'Samsung 8 GB / Samsung 8 GB',
|
|
disk: 'ST1000DM003-1CH162 931.51 GB / Samsung SSD 840 EVO 120GB',
|
|
macAddress: 'E03F4948ECC6',
|
|
ipAddress: '172.16.9.23',
|
|
graphicCard: 'Intel(R) HD Graphics 4600',
|
|
},
|
|
];
|