Merge branch 'main' of g.8f.al:ir/budget
This commit is contained in:
commit
17f6b37d30
2 changed files with 13 additions and 14 deletions
|
@ -5,7 +5,6 @@ CREATE TABLE account (
|
||||||
meta JSONB -- 元数据
|
meta JSONB -- 元数据
|
||||||
);
|
);
|
||||||
-- {"name":"name",
|
-- {"name":"name",
|
||||||
-- time:"2022-02-02",
|
|
||||||
-- “budget": [
|
-- “budget": [
|
||||||
-- {"time":"2022-02","value":20.32},
|
-- {"time":"2022-02","value":20.32},
|
||||||
-- {"time":"2022-01","value":30.32}
|
-- {"time":"2022-01","value":30.32}
|
||||||
|
@ -35,11 +34,10 @@ CREATE TABLE transaction (
|
||||||
amount MONEY,
|
amount MONEY,
|
||||||
meta JSONB -- 元数据
|
meta JSONB -- 元数据
|
||||||
);
|
);
|
||||||
-- {"discription":"something",(可选)
|
-- {"discription":"something",
|
||||||
-- "type":"in"/"out"/"transfer"/"init"/"modify",
|
-- "type":"in"/"out"/"transfer"/"init",
|
||||||
|
-- "reimburse":{
|
||||||
-- "reimburse":{ (报销)
|
-- "finish": true/false,
|
||||||
-- "finish": true,
|
|
||||||
-- "ref":t_id
|
-- "ref":t_id
|
||||||
-- }
|
-- }
|
||||||
-- "":"something"}
|
-- "":"something"}
|
||||||
|
|
|
@ -5,3 +5,4 @@ if __name__ == '__main__':
|
||||||
mw = MainWindow()
|
mw = MainWindow()
|
||||||
mw.show()
|
mw.show()
|
||||||
sys.exit(app.exec())
|
sys.exit(app.exec())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue