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)
Example #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)
Example #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', ))
class ProgressTimelineModelSchema(ma.ModelSchema):
    class Meta:
        model = ProgressTimeline
        include_fk = True

    region = ma.Nested(RegionModelSchema, many=False, exclude=('parent', ))
Example #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', ))
Example #10
0
class RegionCompleteModelSchema(ma.ModelSchema):
    class Meta:
        model = Region
        include_fk = True

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