Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
93c03476
Commit
93c03476
authored
Mar 28, 2022
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运营后台--
保险列表
parent
60787f3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
src/main/java/cn/timer/api/controller/insure/enums/InsuranceEnum.java
+64
-0
No files found.
src/main/java/cn/timer/api/controller/insure/enums/InsuranceEnum.java
0 → 100644
View file @
93c03476
package
cn
.
timer
.
api
.
controller
.
insure
.
enums
;
import
io.swagger.models.auth.In
;
import
lombok.Data
;
/**
* @Description TODO
* @Author wgd
* @Date 2022/3/24 17:20
*/
public
enum
InsuranceEnum
{
A_30
(
12
,
"30万意外/3万医疗/扩展24小时(A类)"
,
"A类"
),
A_50
(
15
,
"50万意外/5万医疗/扩展24小时(A类)"
,
"A类"
),
A_80
(
18
,
"80万意外/10万医疗/扩展24小时(A类)"
,
"A类"
),
A_80_20
(
25
,
"80万意外/20万医疗/扩展24小时(A类)"
,
"A类"
),
A_100
(
28
,
"100万意外/10万医疗/扩展24小时(A类)"
,
"A类"
),
B_30
(
18
,
"30万意外/3万医疗/扩展24小时(B类)"
,
"B类"
),
B_50
(
20
,
"50万意外/5万医疗/扩展24小时(B类)"
,
"B类"
),
B_80
(
35
,
"80万意外/10万医疗/扩展24小时(B类)"
,
"B类"
),
B_80_20
(
38
,
"80万意外/20万医疗/扩展24小时(B类)"
,
"B类"
),
B_100
(
40
,
"100万意外/10万医疗/扩展24小时(B类)"
,
"B类"
),
C_50
(
60
,
"50万意外/5万医疗/扩展24小时(C类)"
,
"C类"
),
C_80
(
75
,
"80万意外/10万医疗/扩展24小时(C类)"
,
"C类"
);
private
Integer
price
;
private
String
name
;
private
String
type
;
InsuranceEnum
(
Integer
price
,
String
name
,
String
type
)
{
this
.
price
=
price
;
this
.
name
=
name
;
this
.
type
=
type
;
}
public
Integer
getPrice
()
{
return
price
;
}
public
void
setPrice
(
Integer
price
)
{
this
.
price
=
price
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getType
()
{
return
type
;
}
public
void
setType
(
String
type
)
{
this
.
type
=
type
;
}
public
static
InsuranceEnum
getEnum
(
Integer
value
)
{
for
(
InsuranceEnum
v
:
values
())
if
(
v
.
price
==
value
)
return
v
;
throw
new
IllegalArgumentException
();
}
}
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