|
@@ -2,6 +2,8 @@ package com.fs.course.param;
|
|
|
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -14,19 +16,25 @@ import java.io.Serializable;
|
|
public class FsCourseSendRewardUParam implements Serializable
|
|
public class FsCourseSendRewardUParam implements Serializable
|
|
{
|
|
{
|
|
private Long userId;
|
|
private Long userId;
|
|
|
|
+ @NotNull(message = "课程参数不能为空")
|
|
private Long videoId;//小节Id
|
|
private Long videoId;//小节Id
|
|
|
|
+ @NotBlank(message = "客服参数不能为空")
|
|
private String qwUserId;
|
|
private String qwUserId;
|
|
|
|
+ @NotNull(message = "客服参数不能为空")
|
|
private Long companyUserId;
|
|
private Long companyUserId;
|
|
|
|
+ @NotNull(message = "经销商参数不能为空")
|
|
private Long companyId;
|
|
private Long companyId;
|
|
|
|
+ @NotNull(message = "课程参数不能为空")
|
|
private Long courseId;
|
|
private Long courseId;
|
|
private String corpId;
|
|
private String corpId;
|
|
private Integer linkType;
|
|
private Integer linkType;
|
|
|
|
+ @NotNull(message = "课程参数不能为空")
|
|
private Long qwExternalId;
|
|
private Long qwExternalId;
|
|
private Integer source=1;//来源 1:h5 2:小程序
|
|
private Integer source=1;//来源 1:h5 2:小程序
|
|
private Integer isRoom;
|
|
private Integer isRoom;
|
|
private Integer sendType;
|
|
private Integer sendType;
|
|
private Long periodId;
|
|
private Long periodId;
|
|
-
|
|
|
|
|
|
+ @NotBlank(message = "小程序参数不能为空")
|
|
private String appId; //前端传来的小程序的appid
|
|
private String appId; //前端传来的小程序的appid
|
|
|
|
|
|
private String code;
|
|
private String code;
|