package com.fs.course.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 购买会员订单对象 fs_user_vip_order
 *
 * @author fs
 * @date 2024-06-27
 */
@Data
public class FsCourseSendRewardUParam implements Serializable
{
    private Long userId;
    @NotNull(message = "课程参数不能为空")
    private Long videoId;//小节Id
    @NotBlank(message = "客服参数不能为空")
    private String qwUserId;
    @NotNull(message = "客服参数不能为空")
    private Long companyUserId;
    @NotNull(message = "经销商参数不能为空")
    private Long companyId;
    @NotNull(message = "课程参数不能为空")
    private Long courseId;
    private String corpId;
    private Integer linkType;
    @NotNull(message = "课程参数不能为空")
    private Long qwExternalId;
    private Integer source=1;//来源 1:h5  2:小程序 3：app
    private Integer isRoom;
    private Integer sendType;
    private Long periodId;
    @NotBlank(message = "小程序参数不能为空")
    private String appId; //前端传来的小程序的appid

    private String code;

}
