记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
8ff618f3
Commit
8ff618f3
authored
Dec 06, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~API:发放券+exclusively属性标识会员专属用于计算特定券有效期,去除validity必填校验;
parent
15c0fd5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
163 deletions
+4
-163
CandyMgtCouponBuildParam.java
...net/service/candy/dto/admin/CandyMgtCouponBuildParam.java
+4
-163
No files found.
liquidnet-bus-api/liquidnet-service-candy-api/src/main/java/com/liquidnet/service/candy/dto/admin/CandyMgtCouponBuildParam.java
View file @
8ff618f3
...
...
@@ -3,12 +3,14 @@ package com.liquidnet.service.candy.dto.admin;
import
com.liquidnet.commons.lang.constant.LnsRegex
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.validation.constraints.*
;
import
java.math.BigDecimal
;
import
java.util.List
;
@ApiModel
(
value
=
"CandyMgtCouponBuildParam"
,
description
=
"新建券入参"
)
@Data
public
class
CandyMgtCouponBuildParam
{
//private String couponId;
//private Integer state;
...
...
@@ -43,9 +45,9 @@ public class CandyMgtCouponBuildParam {
@Max
(
value
=
1
,
message
=
"叠加限制配置无效"
)
private
Integer
overlay
;
//private Integer overlayLevel;
@NotNull
(
message
=
"券有效期不能为空"
)
//
@NotNull(message = "券有效期不能为空")
@Min
(
value
=
1
,
message
=
"有效期不能小于1"
)
@ApiModelProperty
(
required
=
tru
e
,
value
=
"有效期(单位天)"
,
example
=
"30"
)
@ApiModelProperty
(
required
=
fals
e
,
value
=
"有效期(单位天)"
,
example
=
"30"
)
private
Integer
validity
;
// @Min(value = 1, message = "兑换有效期不能小于1")
@ApiModelProperty
(
required
=
false
,
value
=
"兑换有效期(单位天)"
,
example
=
"30"
)
...
...
@@ -85,165 +87,4 @@ public class CandyMgtCouponBuildParam {
//private LocalDateTime createdAt;
//private LocalDateTime updatedAt;
//private String comment;
public
String
getTitle
()
{
return
title
;
}
public
void
setTitle
(
String
title
)
{
this
.
title
=
title
;
}
public
String
getLabel
()
{
return
label
;
}
public
void
setLabel
(
String
label
)
{
this
.
label
=
label
;
}
public
String
getNotice
()
{
return
notice
;
}
public
void
setNotice
(
String
notice
)
{
this
.
notice
=
notice
;
}
public
Integer
getBusiType
()
{
return
busiType
;
}
public
void
setBusiType
(
Integer
busiType
)
{
this
.
busiType
=
busiType
;
}
public
Integer
getCouType
()
{
return
couType
;
}
public
void
setCouType
(
Integer
couType
)
{
this
.
couType
=
couType
;
}
public
Integer
getBindType
()
{
return
bindType
;
}
public
void
setBindType
(
Integer
bindType
)
{
this
.
bindType
=
bindType
;
}
public
BigDecimal
getDiscount
()
{
return
discount
;
}
public
void
setDiscount
(
BigDecimal
discount
)
{
this
.
discount
=
discount
;
}
public
BigDecimal
getValFace
()
{
return
valFace
;
}
public
void
setValFace
(
BigDecimal
valFace
)
{
this
.
valFace
=
valFace
;
}
public
BigDecimal
getValOver
()
{
return
valOver
;
}
public
void
setValOver
(
BigDecimal
valOver
)
{
this
.
valOver
=
valOver
;
}
public
BigDecimal
getValMinus
()
{
return
valMinus
;
}
public
void
setValMinus
(
BigDecimal
valMinus
)
{
this
.
valMinus
=
valMinus
;
}
public
Integer
getOverlay
()
{
return
overlay
;
}
public
void
setOverlay
(
Integer
overlay
)
{
this
.
overlay
=
overlay
;
}
public
Integer
getValidity
()
{
return
validity
;
}
public
void
setValidity
(
Integer
validity
)
{
this
.
validity
=
validity
;
}
public
Integer
getRedeemValidity
()
{
return
redeemValidity
;
}
public
void
setRedeemValidity
(
Integer
redeemValidity
)
{
this
.
redeemValidity
=
redeemValidity
;
}
public
List
<
CandyCouponRuleBuildParam
>
getCouponRuleList
()
{
return
couponRuleList
;
}
public
void
setCouponRuleList
(
List
<
CandyCouponRuleBuildParam
>
couponRuleList
)
{
this
.
couponRuleList
=
couponRuleList
;
}
public
String
getMcouponId
()
{
return
mcouponId
;
}
public
void
setMcouponId
(
String
mcouponId
)
{
this
.
mcouponId
=
mcouponId
;
}
public
Integer
getEventAmt
()
{
return
eventAmt
;
}
public
void
setEventAmt
(
Integer
eventAmt
)
{
this
.
eventAmt
=
eventAmt
;
}
public
Integer
getEventType
()
{
return
eventType
;
}
public
void
setEventType
(
Integer
eventType
)
{
this
.
eventType
=
eventType
;
}
public
String
getEventLimit
()
{
return
eventLimit
;
}
public
void
setEventLimit
(
String
eventLimit
)
{
this
.
eventLimit
=
eventLimit
;
}
public
String
getEventAt
()
{
return
eventAt
;
}
public
void
setEventAt
(
String
eventAt
)
{
this
.
eventAt
=
eventAt
;
}
public
Integer
getExclusively
()
{
return
exclusively
;
}
public
void
setExclusively
(
Integer
exclusively
)
{
this
.
exclusively
=
exclusively
;
}
}
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