Beispiel #1
0
class Record(dbs.UniqueTable):
    """ """
    item: Item
    quantity: Optional[Quantity]
    price: Optional[Price]
    sep_table: Optional['SeparatedTable']
    note: Optional[dbt.VarChar(128)]
Beispiel #2
0
class ItemName(dbs.UniqueTable):
    """ """
    name: dbt.VarChar(128)
Beispiel #3
0
class DetailedTable(dbs.Table):
    """ """
    work: Work
    spot: dbt.VarChar(64)
    subject: Subject
Beispiel #4
0
class Work(dbs.Table):
    """ """
    kind: WorkKind
    name: dbt.VarChar(128)
Beispiel #5
0
class WorkKind(dbs.UniqueTable):
    """ """
    name: dbt.VarChar(32)
Beispiel #6
0
class Subject(dbs.UniqueTable):
    """ """
    name: dbt.VarChar(64)
    sub_name: Optional[dbt.VarChar(64)]
Beispiel #7
0
class Price(dbs.Table):
    """ """
    value: dbt.VarChar(32)
    source: dbt.VarChar(64)
Beispiel #8
0
class Quantity(dbs.UniqueTable):
    """ """
    number: dbt.VarChar(32)
    unit: dbt.VarChar(16)
Beispiel #9
0
class Item(dbs.UniqueTable):
    """ """
    name: ItemName
    abstract: dbt.VarChar(256)