import { z } from "zod";

export const warehouseLocationInputSchema = z.object({
  warehouse_id: z.string().trim().min(1, "Warehouse wajib dipilih"),
  code: z.string().trim().max(50).optional().or(z.literal("")),
  name: z.string().trim().min(1, "Nama lokasi wajib diisi").max(100),
  location_type: z.string().trim().max(50).optional().or(z.literal("")),
  status: z.enum(["ACTIVE", "INACTIVE"]).default("ACTIVE")
});
