package org.dromara.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.TblUserVacate;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

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



/**
 * 人员请假视图对象 tbl_user_vacate
 *
 * @author Lion Li
 * @date 2024-02-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TblUserVacate.class)
public class TblUserVacateVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 用户信息
     */
    @ExcelProperty(value = "用户信息")
    private String userInfo;

    /**
     * 请假开始日期
     */
    @ExcelProperty(value = "请假开始日期")
    private Date startDate;

    /**
     * 结束日期
     */
    @ExcelProperty(value = "结束日期")
    private Date endDate;

    /**
     * 内容描述
     */
    @ExcelProperty(value = "内容描述")
    private String des;

    /**
     * 状态（ 1-通过  2-拒绝  0-待处理）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=-通过,2=-拒绝,0=-待处理")
    private Long status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date cTime;

    /**
     * 跟新时间
     */
    @ExcelProperty(value = "跟新时间")
    private Date uTime;

    /**
     * 扩展1
     */
    @ExcelProperty(value = "扩展1")
    private String ext1;

    /**
     * 扩展2
     */
    @ExcelProperty(value = "扩展2")
    private String ext2;


}
