{
  "name": "Transaction",
  "base": "PersistedModel",
  "idInjection": false,
  "options": {
	"validateUpsert": true
  },
  "properties": {
	"id": {
	  "type": "string",
	  "id": true,
	  "generated": false
	},
	"storeId": {
	  "type": "string",
	  "required": true
	},
	"invoiceId": {
	  "type": "string",
	  "required": true
	},
	"name": {
	  "type": "string",
	  "required": true
	}
  },
  "validations": [],
  "relations": {
	"store": {
	  "type": "belongsTo",
	  "model": "Store",
	  "foreignKey": "storeId"
	},
	"invoice": {
	  "type": "belongsTo",
	  "model": "Invoice",
	  "foreignKey": "invoiceId"
	}
  },
  "acls": [
	{
	  "accessType": "*",
	  "principalType": "ROLE",
	  "principalId": "$everyone",
	  "permission": "DENY"
	},
	{
	  "accessType": "*",
	  "principalType": "ROLE",
	  "principalId": "$nsec",
	  "permission": "ALLOW"
	}
  ],
  "security": {
  },
  "methods": {}
}
