OVIRO LogoOVIRO
WMS - InventoryKho hàng

Warehouse Object Schema

Chi tiết các trường dữ liệu của một object `Warehouse`

JSON Schema

Trường (Field)Kiểu (Type)Mô tả (Description)
idintID kho hàng
creator_idintID người tạo kho
company_idintID công ty
namestringTên kho hàng
codestringMã kho hàng
random_codestringMã ngẫu nhiên (sinh tự động)
contact_fullnamestringTên người liên hệ
contact_phonestringSố điện thoại người liên hệ
contact_emailstringEmail người liên hệ
addressstringĐịa chỉ kho hàng
latfloatVĩ độ (Latitude)
longfloatKinh độ (Longitude)
region_idintID Tỉnh/Thành phố
sub_region_idintID Quận/Huyện
display_orderintThứ tự hiển thị
foreign_idstringMã hệ thống bên ngoài
foreign_id_morestringMã hệ thống bên ngoài (bổ sung)
statusintTrạng thái: 1 (Kích hoạt), 3 (Vô hiệu hóa)
date_createdintThời gian tạo (UNIX timestamp)
date_modifiedintThời gian sửa (UNIX timestamp)

Ví dụ JSON object

{
  "id": 1,
  "creator_id": 10,
  "company_id": 1,
  "name": "Kho Quận 7",
  "code": "WH001",
  "random_code": "RND123",
  "contact_fullname": "Nguyễn Văn A",
  "contact_phone": "0987654321",
  "contact_email": "[email protected]",
  "address": "789 Nguyễn Văn Linh, Quận 7",
  "lat": 10.730,
  "long": 106.700,
  "region_id": 79,
  "sub_region_id": 761,
  "display_order": 1,
  "foreign_id": "",
  "foreign_id_more": "",
  "status": 1,
  "date_created": 1609459200,
  "date_modified": 1609459200
}

On this page