package com.propertyManagement.business.domain.vo;

import cn.hutool.core.date.DateTime;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.propertyManagement.common.annotation.ExcelDictFormat;
import com.propertyManagement.common.convert.ExcelDictConvert;
import lombok.Data;

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

/**
 * 打卡记录对象
 *
 * @author liushuai
 * @date 2025-05-14
 */
@Data
@ExcelIgnoreUnannotated
public class WxClockVo2 implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 打卡天数
     */
    private Integer clockDay;

    /**
     * 缺卡天数
     */
    private Integer noRecordDay;

    /**
     * 打卡记录列表
     */
    private List<ClockRecord> clockRecordList;

    @Data
    public static class ClockRecord {
        public ClockRecord(String date, Integer clockState) {
            this.date = date;
            this.clockState = clockState;
        }
        /**
         * 日期
         */
        private String date;
        /**
         * 打卡状态(0未打卡 1已打卡)
         */
        private Integer clockState;
    }

}
