Ejemplo n.º 1
0
class BudgetLikelihoodModelSchema(ma.ModelSchema):
    class Meta:
        model = BudgetLikelihood
        include_fk = True

    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
    region_likelihood = ma.Nested(RegionCompleteModelSchema, many=False)
Ejemplo n.º 2
0
class BudgetRecapitulationCompleteModelSchema(ma.ModelSchema):
    class Meta:
        model = BudgetRecapitulation
        include_fk = True

    region = ma.Nested(RegionCompleteModelSchema, many=False)
    type = ma.Nested(BudgetTypeModelSchema, many=False)
Ejemplo n.º 3
0
class BudgetRecapitulationModelSchema(ma.ModelSchema):
    class Meta:
        model = BudgetRecapitulation
        include_fk = True

    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
    type = ma.Nested(BudgetTypeModelSchema, many=False)
class SiskeudesSppBuktiModelSchema(ma.ModelSchema):
    class Meta:
        model = SiskeudesSppBukti
        include_fk = True

    tanggal = CustomDateTime(format='keuangan', allow_none=True, missing=True)
    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
class SiskeudesKegiatanModelSchema(ma.ModelSchema):
    class Meta:
        model = SiskeudesKegiatan
        include_fk = True

    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
class SiskeudesSppBuktiModelSchemaIso(ma.ModelSchema):
    class Meta:
        model = SiskeudesSppBukti
        include_fk = True

    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
Ejemplo n.º 7
0
class ProgressTimelineModelSchema(ma.ModelSchema):
    class Meta:
        model = ProgressTimeline
        include_fk = True

    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
Ejemplo n.º 8
0
class ProgressRecapitulationModelSchema(ma.ModelSchema):
    class Meta:
        model = ProgressRecapitulation
        include_fk = True

    region = ma.Nested(RegionCompleteModelSchema, many=False)
class SiskeudesPenerimaanRinciModelSchema(ma.ModelSchema):
    class Meta:
        model = SiskeudesPenerimaanRinci
        include_fk = True

    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
Ejemplo n.º 10
0
class RegionCompleteModelSchema(ma.ModelSchema):
    class Meta:
        model = Region
        include_fk = True

    parent = ma.Nested('self', many=False)