���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
portal-cutunix
/
app
/
Http
/
Controllers
/
Viewing: Controller.php
<?php namespace App\Http\Controllers; /** * @OA\Info( * version="1.0.0", * title="Warehouse Management System API", * description="API documentation for Warehouse Management System", * @OA\Contact( * email="admin@example.com" * ), * @OA\License( * name="Apache 2.0", * url="http://www.apache.org/licenses/LICENSE-2.0.html" * ) * ) * * @OA\Server( * url=L5_SWAGGER_CONST_HOST, * description="Demo API Server" * ) * * @OA\SecurityScheme( * securityScheme="bearer_token", * type="http", * scheme="bearer" * ) */ /** * @OA\Schema( * schema="Warehouse", * type="object", * title="Warehouse", * description="Warehouse model", * @OA\Property(property="id", type="integer", readOnly="true", example="1"), * @OA\Property(property="tenant_id", type="integer", example="1"), * @OA\Property(property="code", type="string", maxLength=255, example="WH001"), * @OA\Property(property="type", type="string", maxLength=255, example="main"), * @OA\Property(property="storekeeper_id", type="integer", example="1"), * @OA\Property(property="address_id", type="integer", example="1"), * @OA\Property(property="account_id", type="integer", example="1"), * @OA\Property(property="description", type="string", example="Main warehouse for storing products"), * @OA\Property(property="created_at", type="string", format="date-time", readOnly="true"), * @OA\Property(property="updated_at", type="string", format="date-time", readOnly="true"), * @OA\Property( * property="racks", * type="array", * @OA\Items(ref="#/components/schemas/Rack") * ) * ) */ /** * @OA\Schema( * schema="Rack", * type="object", * title="Rack", * description="Rack model", * @OA\Property(property="id", type="integer", readOnly="true", example="1"), * @OA\Property(property="warehouse_id", type="integer", example="1"), * @OA\Property(property="tenant_id", type="integer", example="1"), * @OA\Property(property="name", type="string", example="Rack A1"), * @OA\Property(property="code", type="string", maxLength=255, example="R001"), * @OA\Property(property="created_at", type="string", format="date-time", readOnly="true"), * @OA\Property(property="updated_at", type="string", format="date-time", readOnly="true") * ) */ /** * @OA\Schema( * schema="ProductCategory", * type="object", * title="ProductCategory", * description="Product Category model", * @OA\Property(property="id", type="integer", readOnly="true", example="1"), * @OA\Property(property="tenant_id", type="integer", example="1"), * @OA\Property(property="code", type="string", maxLength=255, example="CAT001"), * @OA\Property(property="name", type="string", maxLength=255, example="Electronics"), * @OA\Property(property="description", type="string", example="Electronic products category"), * @OA\Property(property="status", type="string", enum={"active", "inactive"}, example="active"), * @OA\Property(property="parent_id", type="integer", nullable="true", example="null"), * @OA\Property(property="created_at", type="string", format="date-time", readOnly="true"), * @OA\Property(property="updated_at", type="string", format="date-time", readOnly="true") * ) */ /** * @OA\Schema( * schema="Product", * type="object", * title="Product", * description="Product model", * @OA\Property(property="id", type="integer", readOnly="true", example="1"), * @OA\Property(property="tenant_id", type="integer", example="1"), * @OA\Property(property="dasterang_product_id", type="integer", nullable="true", example="123"), * @OA\Property(property="code", type="string", maxLength=255, example="PROD001"), * @OA\Property(property="product_category_id", type="integer", example="1"), * @OA\Property(property="name", type="string", maxLength=255, example="Laptop"), * @OA\Property(property="original_counting_unit", type="string", example="piece"), * @OA\Property(property="stock_count", type="integer", example="100"), * @OA\Property(property="ratio", type="number", format="float", example="1.50"), * @OA\Property(property="secondary_counting_unit", type="string", nullable="true", example="box"), * @OA\Property(property="status", type="string", enum={"active", "inactive"}, example="active"), * @OA\Property( * property="type", * type="array", * @OA\Items( * type="string", * enum={"raw_materials", "product", "packing", "consumables", "waste", "goods", "in_process", "semi_finished"} * ), * example={"product", "goods"} * ), * @OA\Property(property="description", type="string", example="High-performance laptop"), * @OA\Property(property="created_at", type="string", format="date-time", readOnly="true"), * @OA\Property(property="updated_at", type="string", format="date-time", readOnly="true") * ) */ abstract class Controller { // }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa