package org.jeecg.modules.quartz.vo;

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

import java.util.Date;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description="查询上课通知数据")
public class JobClassNoticeVo {
    /** 订单ID*/
    private String orderId;
    /** 订单No*/
    private String orderNo;

    /** 用户ID*/
    private String userId;

    /** 用户微信openID*/
    private String userOpenId;

    /** 上课开始时间*/
    @JsonFormat(timezone = "GMT+8",shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 场地名称*/
    private String siteName;


    /** 延课原因*/
    private String reasonClassExtension;

}
