{
    "name": "Company",
    "description": "Companies",
    "base": "VnModel",
    "options": {
        "mysql": {
            "table": "company"
        }
    },
    "properties": {
        "id": {
            "id": true,
            "type": "Number",
            "description": "Identifier"
        },
        "code": {
            "type": "String"
        },
        "expired": {
            "type": "date"
        }
    },

    "scope": {
        "where" :{
            "expired": null
        }
    }
}