erp-platform/ui/src/mocks/mockLocations.ts

111 lines
2.4 KiB
TypeScript
Raw Normal View History

2025-09-15 09:31:47 +00:00
import { LocationTypeEnum } from "../types/wm";
import { WmLocation } from "../types/wm";
export const mockLocations: WmLocation[] = [
{
id: "1",
warehouseId: "1",
zoneId: "2",
locationCode: "A01-01-01",
name: "A Blok 1. Koridor 1. Raf",
description: "Yüksek raf - Ağır malzemeler",
locationType: LocationTypeEnum.Rack,
capacity: 100,
currentStock: 75,
dimensions: {
length: 2.5,
width: 1.2,
height: 3.0,
weight: 1000,
unit: "kg",
},
restrictions: ["Ağır malzemeler", "Palet kullanımı zorunlu"],
stockItems: [],
isActive: true,
},
{
id: "2",
warehouseId: "1",
zoneId: "2",
locationCode: "A01-01-02",
name: "A Blok 1. Koridor 2. Raf",
description: "Orta raf - Orta ağırlık malzemeler",
locationType: LocationTypeEnum.Shelf,
capacity: 50,
currentStock: 30,
dimensions: {
length: 2.0,
width: 0.8,
height: 2.0,
weight: 500,
unit: "kg",
},
restrictions: ["Orta ağırlık malzemeler"],
stockItems: [],
isActive: true,
},
{
id: "3",
warehouseId: "1",
zoneId: "1",
locationCode: "B02-02-01",
name: "B Blok 2. Koridor 1. Raf",
description: "Küçük parçalar rafı",
locationType: LocationTypeEnum.Bin,
capacity: 200,
currentStock: 180,
dimensions: {
length: 1.5,
width: 0.6,
height: 1.5,
weight: 200,
unit: "kg",
},
restrictions: ["Küçük parçalar"],
stockItems: [],
isActive: true,
},
{
id: "4",
warehouseId: "2",
zoneId: "1",
locationCode: "B02-02-01",
name: "B Blok 2. Koridor 1. Raf",
description: "Küçük parçalar rafı",
locationType: LocationTypeEnum.Bin,
capacity: 200,
currentStock: 180,
dimensions: {
length: 1.5,
width: 0.6,
height: 1.5,
weight: 200,
unit: "kg",
},
restrictions: ["Küçük parçalar"],
stockItems: [],
isActive: true,
},
{
id: "4",
warehouseId: "2",
zoneId: "3",
locationCode: "C01-02-01",
name: "C Blok 2. Koridor 1. Raf",
description: "Büyük parçalar rafı",
locationType: LocationTypeEnum.Bin,
capacity: 200,
currentStock: 180,
dimensions: {
length: 1.5,
width: 0.6,
height: 1.5,
weight: 200,
unit: "kg",
},
restrictions: ["Küçük parçalar"],
stockItems: [],
isActive: true,
},
];