mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2024-12-27 06:25:28 +03:00
Add resources data
This commit is contained in:
parent
a2cf22d426
commit
2817f3591b
26
lumen-test/tests/_data/ResourcesTest.yml
Normal file
26
lumen-test/tests/_data/ResourcesTest.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
Author:
|
||||||
|
belongsTo: book
|
||||||
|
fields:
|
||||||
|
name:
|
||||||
|
schema: string
|
||||||
|
tags: fillable
|
||||||
|
Book:
|
||||||
|
belongsTo: librarys # Yes I know it's misspelled...
|
||||||
|
hasOne: author
|
||||||
|
fields:
|
||||||
|
title:
|
||||||
|
schema: string
|
||||||
|
tags: fillable
|
||||||
|
published:
|
||||||
|
schema: date
|
||||||
|
tags: fillable
|
||||||
|
Library:
|
||||||
|
hasMany: books
|
||||||
|
fields:
|
||||||
|
name:
|
||||||
|
schema: string
|
||||||
|
tags: fillable
|
||||||
|
address:
|
||||||
|
schema: string
|
||||||
|
tags: fillable
|
Loading…
Reference in New Issue
Block a user