OVIRO LogoOVIRO
CRMVăn phòng làm việc

Office Object Schema

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

JSON Schema

Trường (Field)Kiểu (Type)Mô tả (Description)
company_idintID công ty
creator_idintID người tạo
idintID văn phòng
namestringTên văn phòng
codestringMã văn phòng
addressstringĐịa chỉ văn phòng
display_orderintThứ tự hiển thị
date_createdintThời gian tạo (UNIX timestamp)
date_modifiedintThời gian sửa (UNIX timestamp)
work_day_allow_ipstringDanh sách IP cho phép chấm công (ngăn cách bởi dấu phẩy, hỗ trợ wildcard *)
date_review_checkinintNgày xem xét check-in
allow_late_timeintThời gian cho phép trễ (phút)
allow_early_timeintThời gian cho phép sớm (phút)

Lưu ý: Trường status (1: Enable, 3: Disabled) tồn tại trong Model nhưng không được trả về trong getJsonData(). Trường này chỉ xuất hiện trong response fulldata.

Ví dụ JSON object

{
    "company_id": 10311,
    "creator_id": 10,
    "id": 1,
    "name": "Trụ sở chính",
    "code": "HO",
    "address": "123 Đường Chính",
    "display_order": 1,
    "date_created": 1609459200,
    "date_modified": 1609459200,
    "work_day_allow_ip": "192.168.1.1,192.168.1.*",
    "date_review_checkin": 1,
    "allow_late_time": 15,
    "allow_early_time": 15
}

On this page