package com.fs.course.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class FsCoursePlaySourceConfigVO {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("小程序/公众号名称")
    private String name;

    @ApiModelProperty("小程序/公众号appid")
    private String appid;

    @ApiModelProperty("小程序/公众号secret")
    private String secret;

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

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

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("aesKey")
    private String aesKey;

    @ApiModelProperty("msgDataFormat")
    private String msgDataFormat;

    @ApiModelProperty("类型 1主要小程序 2公众号 3炮灰小程序")
    private Integer type;

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

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 是否是互医/商城小程序
     */
    private Integer isMall;
    private Long createDeptId;
}
