package jnpf.model.attendance.vo.attendance;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AttendanceDimensionDayVo {
    /**
     * 考勤组ID
     */
    private String groupId;
    /**
     * 出勤人数（人天数）
     */
    private Integer personCount;
    /**
     * 日期
     */
    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date day;
}
