package org.jeecg.modules.system.app.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author DM
 * @date 2025/7/10 11:59
 * @description
 */
@Data
public class AppTeachingTimeDTO {
    @Schema(description = "id")
    private String id;
    /**部门id*/
    @Excel(name = "部门id", width = 15)
    @Schema(description = "部门id")
    private String tenantId;
    /**日期*/
    @Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "日期")
    private Date day;
    /**受否教学日*/
    @Excel(name = "受否教学日0是1否", width = 15)
    @Schema(description = "受否教学日0是1否")
    private Integer isTeaching;
    /**部门编码*/
    @Excel(name = "部门编码", width = 15)
    @Schema(description = "部门编码")
    private String orgCode;
}