serang_kab.py
1.51 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
51
52
53
from sqlalchemy import (
Column,
Float,
String,
)
from sqlalchemy.ext.declarative import declarative_base
from .objek_pajak import BaseObjekPajakMixin
from .sppt import BaseSpptMixin
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='iprotaxpbb')
class Sppt(Base, BaseSpptMixin):
__table_args__ = dict(schema='iprotaxpbb')
pbb_yg_hrs_dibayar_sppt = Column(Float)
class PembayaranSppt(Base, BasePembayaranSpptMixin):
__table_args__ = dict(schema='iprotaxpbb')
jml_denda_sppt = Column(Float)
jml_pbb_yg_dibayar = Column(Float, nullable=False)
user_bank_rekam = Column(String(50), nullable=False)
kd_bank_tunggal = Column(String(2), nullable=False)
kd_bank_persepsi = Column(String(2), nullable=False)
no_transaksi_byr_sppt = Column(String(20))
no_transaksi_byr_sppt_bank = Column(String(35))
kd_sumber_data = Column(String(1), nullable=False)
class Kelurahan(Base, KelurahanMixin):
__table_args__ = dict(schema='iprotaxref')
class Kecamatan(Base, KecamatanMixin):
__table_args__ = dict(schema='iprotaxref')
class Propinsi(Base, PropinsiMixin):
__table_args__ = dict(schema='iprotaxref')
class TempatPembayaran(Base, TempatPembayaranMixin):
__table_args__ = dict(schema='iprotaxpbb')