default.py
1008 Bytes
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
54
55
56
57
58
# Kabupaten Tangerang
from sqlalchemy.ext.declarative import (
declarative_base,
declared_attr,
)
from .provinsi import ProvinsiMixin
from .kabupaten import KabupatenMixin
from .kecamatan import KecamatanMixin
from .kelurahan import KelurahanMixin
from .customer import CustomerMixin
from .perolehan import PerolehanMixin
from .invoice import InvoiceMixin
from .payment import PaymentMixin
from .iso_payment import IsoPaymentMixin
from .iso_reversal import IsoReversalMixin
Base = declarative_base()
class Provinsi(ProvinsiMixin, Base):
pass
class Kabupaten(KabupatenMixin, Base):
pass
class Kecamatan(KecamatanMixin, Base):
pass
class Kelurahan(KelurahanMixin, Base):
pass
class Customer(CustomerMixin, Base):
pass
class Perolehan(PerolehanMixin, Base):
pass
class Invoice(InvoiceMixin, Base):
pass
class Payment(PaymentMixin, Base):
pass
class IsoPayment(IsoPaymentMixin, Base):
pass
class IsoReversal(IsoReversalMixin, Base):
pass