package com.example.ops_android.data.model

import com.google.gson.annotations.SerializedName

data class Container(
    @SerializedName("ID") val id: Int = 0,
    @SerializedName("Title") val name: String? = null,
    @SerializedName("ParentID") val parent_id: Int? = null,
    @SerializedName("Remark") val remark: String? = null,
    @SerializedName("CreatedAt") val created_at: String? = null,
    @SerializedName("CreatorID") val user_id: Int? = null,
    @SerializedName("ItemCount") val item_count: Int = 0,
    @SerializedName("ChildCount") val child_count: Int = 0,
    @SerializedName("Color") val color: String? = null,
    @SerializedName("barcode") private val _barcode: String? = null
) {
    val barcode: String? get() = _barcode
}
