|
@@ -2,6 +2,7 @@ package com.ym.mec.biz.dal.dto;
|
|
|
|
|
|
import com.ym.mec.biz.dal.entity.MusicGroupStudentFee;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
public class MusicCardDto {
|
|
|
@ApiModelProperty(value = "报名id",required = true)
|
|
@@ -29,7 +30,7 @@ public class MusicCardDto {
|
|
|
private String currentClass;
|
|
|
|
|
|
@ApiModelProperty(value = "缴费状态",required = true)
|
|
|
- private String paymentStatus;
|
|
|
+ private String paymentStatus = "PAID_COMPLETED";
|
|
|
|
|
|
@ApiModelProperty(value = "乐团数量",required = true)
|
|
|
private Integer musicGroupNum;
|
|
@@ -42,6 +43,9 @@ public class MusicCardDto {
|
|
|
}
|
|
|
|
|
|
public void setPaymentStatus(String paymentStatus) {
|
|
|
+ if(StringUtils.isEmpty(paymentStatus)){
|
|
|
+ paymentStatus = "PAID_COMPLETED";
|
|
|
+ }
|
|
|
this.paymentStatus = paymentStatus;
|
|
|
}
|
|
|
|