SignInResponseVo.java 1.43 KB
package com.ruoyi.pojo.response;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.in.domain.SignIn;
import lombok.Data;

/**
 * 签到vo
 * @author 20412
 */
@Data
public class SignInResponseVo extends SignIn {
    @ExcelIgnore
    String address;
    @Excel(name = "姓名")
    String name;
    @Excel( name = "工种")
    String posts;
    @Excel( name = "场地名称")
    String siteName;

    @ExcelIgnore
    /**
     * 打卡日期
     */
    String date;

    @ExcelIgnore
    private String VideoURL;

    @ExcelIgnore
    private boolean imageFlag = true;


    public SignInResponseVo(SignIn signIn){
        this.setDeviceId(signIn.getDeviceId());
        this.setId(signIn.getId());
        this.setJobCode(signIn.getJobCode());
        this.setIp(signIn.getIp());
        this.setImage(signIn.getImage());
        this.setStatus(signIn.getStatus());
        this.setSingnIn(signIn.getSingnIn());
        this.setAlcoholFlag(signIn.getAlcoholFlag());
        this.setType(signIn.getType());
        this.setAlcoholIntake(signIn.getAlcoholIntake());
        this.setSearchValue(signIn.getSearchValue());
        this.setCreateBy(signIn.getCreateBy());
        this.setCreateTime(signIn.getCreateTime());
        this.setUpdateBy(signIn.getUpdateBy());
        this.setUpdateTime(signIn.getUpdateTime());
        this.setRemark(signIn.getRemark());
    }
    public SignInResponseVo(){}

}