{
	"name": "CalendarHoliday",
	"base": "VnModel",
	"options": {
		"mysql": {
			"table": "calendarHolidays"
		}
	},
	"properties": {
		"calendarHolidaysNameFk": {
			"id": true,
			"type": "number"
		},
		"calendarHolidaysTypeFk": {
			"id": true,
			"type": "number"
		},
		"dated": {
			"type": "date"
		}
	},
	"relations": {
		"detail": {
			"type": "belongsTo",
			"model": "CalendarHolidaysName",
			"foreignKey": "calendarHolidaysNameFk"
		},
		"type": {
			"type": "belongsTo",
			"model": "CalendarHolidaysType",
			"foreignKey": "calendarHolidaysTypeFk"
		},
		"workCenter": {
			"type": "belongsTo",
			"model": "WorkCenter",
			"foreignKey": "workCenterFk"
		}
    },
    "acls": [{
        "accessType": "READ",
        "principalType": "ROLE",
        "principalId": "$everyone",
        "permission": "ALLOW"
    }]
}