package com.ruoyi.bgt.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("App包工头总体考勤查询对象")
public class BgtAttendanceDayDTO {


	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty("日期")
	private LocalDate date;

	@ApiModelProperty("考勤类型（1出勤 2缺勤 3迟到）")
	private Integer attendanceType;
}
