bekasi_kota.py
1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from sqlalchemy import (
Column,
Float,
String,
)
from sqlalchemy.ext.declarative import declarative_base
from .objek_pajak import BaseObjekPajakMixin
from .sppt import SpptMixin
from .pembayaran_sppt import BasePembayaranSpptMixin
from .kelurahan import KelurahanMixin
from .kecamatan import KecamatanMixin
from .propinsi import PropinsiMixin
from .tempat_pembayaran import TempatPembayaranMixin
Base = declarative_base()
class ObjekPajak(Base, BaseObjekPajakMixin):
__table_args__ = dict(schema='pbb')
class Sppt(Base, SpptMixin):
__table_args__ = dict(schema='pbb')
class PembayaranSppt(Base, BasePembayaranSpptMixin):
__table_args__ = dict(schema='pospbb')
kd_kanwil = Column(String(2), nullable=False)
kd_kantor = Column(String(2), nullable=False)
kd_tp = Column(String(2), nullable=False)
denda_sppt = Column(Float)
jml_sppt_yg_dibayar = Column(Float, nullable=False)
nip_rekam_byr_sppt = Column(String(9), nullable=False)
class Kelurahan(Base, KelurahanMixin):
__table_args__ = dict(schema='pbb')
class Kecamatan(Base, KecamatanMixin):
__table_args__ = dict(schema='pbb')
class Propinsi(Base, PropinsiMixin):
__table_args__ = dict(schema='pbb')
class TempatPembayaran(Base, TempatPembayaranMixin):
__table_args__ = dict(schema='pbb')