package org.jeecg.modules.app.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="查询部门下课程响应对象")
public class AppCoursesPageVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "课程ID")
    private String appCourseId;

    @Schema(description = "上课地址")
    private String siteAddress;

    @Schema(description = "教练id（关联用户表）")
    private String userId;

    @Schema(description = "产品名称")
    private String name;

    @Schema(description = "封面")
    private String cover;

    @Schema(description = "课时数")
    private Integer classNum;

    @JsonFormat(timezone = "GMT+8",pattern = "MM-dd")
    @DateTimeFormat(pattern="MM-dd")
    @Schema(description = "开始时间")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8",pattern = "MM-dd")
    @DateTimeFormat(pattern="MM-dd")
    @Schema(description = "结束时间")
    private java.util.Date endTime;

}
