Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
105ded9a
Commit
105ded9a
authored
Nov 27, 2023
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加收支枚举
parent
eec69701
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
SignEnum.java
share-common/src/main/java/share/common/enums/SignEnum.java
+14
-3
SConsumptionRecords.java
...rc/main/java/share/system/domain/SConsumptionRecords.java
+3
-0
No files found.
share-common/src/main/java/share/common/enums/SignEnum.java
View file @
105ded9a
...
...
@@ -2,18 +2,21 @@ package share.common.enums;
public
enum
SignEnum
{
//+,-
STRAINHT
(
1
,
"
+
"
),
BURDEN
(
2
,
"
-
"
),
STRAINHT
(
1
,
"
收入"
,
"income
"
),
BURDEN
(
2
,
"
支出"
,
"expenditure
"
),
;
private
Integer
code
;
private
String
name
;
private
String
value
;
SignEnum
()
{
}
SignEnum
(
Integer
code
,
String
value
)
{
SignEnum
(
Integer
code
,
String
name
,
String
value
)
{
this
.
code
=
code
;
this
.
name
=
name
;
this
.
value
=
value
;
}
...
...
@@ -32,4 +35,12 @@ public enum SignEnum {
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
}
share-system/src/main/java/share/system/domain/SConsumptionRecords.java
View file @
105ded9a
...
...
@@ -43,6 +43,9 @@ public class SConsumptionRecords extends BaseEntity
*/
private
String
payType
;
/**
* 收入(正),支出(负)号
*/
private
String
sign
;
public
void
setId
(
Long
id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment