package com.fs.course.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class FsCoursePlaySourceConfigCreateParam {

    @NotBlank(message = "名称不能为空")
    @ApiModelProperty("小程序/公众号名称")
    private String name;

    @NotBlank(message = "appid不能为空")
    @ApiModelProperty("小程序/公众号appid")
    private String appid;

    @NotBlank(message = "secret不能为空")
    @ApiModelProperty("小程序/公众号secret")
    private String secret;

    @ApiModelProperty("小程序/公众号icon图标")
    private String img;

    @ApiModelProperty("小程序/公众号原始id")
    private String originalId;

    @NotBlank(message = "token不能为空")
    @ApiModelProperty("token")
    private String token;

    @NotBlank(message = "aesKey不能为空")
    @ApiModelProperty("aesKey")
    private String aesKey;

    @NotBlank(message = "msgDataFormat不能为空")
    @ApiModelProperty("msgDataFormat")
    private String msgDataFormat;

    @NotNull(message = "类型不能为空")
    @ApiModelProperty("类型 1主要小程序 2公众号 3炮灰小程序")
    private Integer type;

    @ApiModelProperty("所属公司")
    private Long companyId;

    @ApiModelProperty("是否是互医/商城小程序")
    private Integer isMall;
    private Long createDeptId;
}
