package com.sqx.modules.course.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CourseDetailsSetVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long courseId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long courseDetailsId;
    private String courseDetailsName;
    private Integer current = 0;
    private Integer isPrice;
    private BigDecimal price;
    private BigDecimal wholesalePrice;
    private Integer sort;

    /**
     * 封面图
     */
    private String titleImg;
    /**
     * 视频地址
     */
    private String videoUrl;
    /**
     * 点赞数
     */
    private Integer goodNum;
    /**
     * 是否点赞
     */
    private Integer isGood;
}
