package com.propertyManagement.business.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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.util.Date;

import java.io.Serializable;

/**
 * 打卡视图对象 wx_clock
 *
 * @author liushuai
 * @date 2025-05-14
 */
@Data
@ExcelIgnoreUnannotated
public class WxClockVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long clockId;

    /**
     * 打卡人员
     */
    private Long accountId;

    /**
     * 打卡人员
     */
    @ExcelProperty(value = "打卡人员姓名")
    private String accountName;

    /**
     * 小区ID
     */
    private Long communityId;

    /**
     * 小区名称
     */
    @ExcelProperty(value = "小区名称")
    private String communityName;

    /**
     * 打卡地址
     */
    @ExcelProperty(value = "打卡地址")
    private String clockAddress;

    /**
     * 打卡图片
     */
    private String clockImg;

    /**
     * 打卡时间
     */
    @ExcelProperty(value = "打卡时间")
    private Date clockTime;

    /**
     * 打卡人角色
     */
    @ExcelProperty(value = "打卡人角色", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "account_type")
    private Integer clockUserRole;


}
