|
@ -14,6 +14,7 @@ import lombok.Data; |
|
|
import org.hibernate.validator.constraints.Length; |
|
|
import org.hibernate.validator.constraints.Length; |
|
|
import org.springframework.format.annotation.DateTimeFormat; |
|
|
import org.springframework.format.annotation.DateTimeFormat; |
|
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.Min; |
|
|
import javax.validation.constraints.NotNull; |
|
|
import javax.validation.constraints.NotNull; |
|
|
import javax.validation.constraints.NotBlank; |
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
|
|
|
|
@ -47,6 +48,13 @@ public class TbsActivityPayConditionBo implements Serializable { |
|
|
@NotNull(message = "付款金额不能为空") |
|
|
@NotNull(message = "付款金额不能为空") |
|
|
private BigDecimal paymentPrice; |
|
|
private BigDecimal paymentPrice; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 支付次数 |
|
|
|
|
|
*/ |
|
|
|
|
|
@Min(value = 1,message = "支付最少1次数") |
|
|
|
|
|
@Min(value = 30,message = "支付最多30次数") |
|
|
|
|
|
private Integer payTimes; |
|
|
|
|
|
|
|
|
/** 付款时间 */ |
|
|
/** 付款时间 */ |
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|
|
private LocalDate paymentDate; |
|
|
private LocalDate paymentDate; |
|
|