Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
sismiop-models
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c7d2f3ab
authored
Feb 12, 2021
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Field discount pada ORM Kota Bogor
1 parent
99a4fb19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
sismiop/models/bogor_kota.py
sismiop/models/tempat_pembayaran.py
sismiop/models/bogor_kota.py
View file @
c7d2f3a
...
...
@@ -2,12 +2,13 @@ from sqlalchemy import (
Column
,
String
,
Integer
,
BigInteger
,
)
from
.default
import
Base
from
.tasik_kab
import
(
ObjekPajak
,
Sppt
,
PembayaranSppt
,
PembayaranSppt
as
BasePembayaranSppt
,
Kelurahan
,
Kecamatan
,
Propinsi
,
...
...
@@ -15,6 +16,11 @@ from .tasik_kab import (
)
class
PembayaranSppt
(
BasePembayaranSppt
):
__table_args__
=
dict
(
extend_existing
=
True
)
discount
=
Column
(
BigInteger
)
class
PenguranganPst
(
Base
):
__tablename__
=
'pengurangan_pst'
__table_args__
=
dict
(
schema
=
'pbb'
)
...
...
sismiop/models/tempat_pembayaran.py
View file @
c7d2f3a
...
...
@@ -21,3 +21,7 @@ class TempatPembayaranMixin:
@declared_attr
def
kd_tp
(
self
):
return
Column
(
String
(
2
),
primary_key
=
True
)
@declared_attr
def
nm_tp
(
self
):
return
Column
(
String
(
30
))
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment