package com.zhgd.xmgl.modules.basicdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 考勤设备同步记录
 * @author： pengj
 * @date： 2023-03-18
 * @version： V1.0
 */
@Data
@TableName("attendance_dev_sync")
@ApiModel(value = "attendanceDevSync实体类", description = "attendanceDevSync")
public class AttendanceDevSync implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private Long id;
    /**
     * 主体信息,根据类型决定(设备CODE/工人SN)
     */
    @Excel(name = "主体信息,根据类型决定(设备CODE/工人SN)", width = 15)
    @ApiModelProperty(value = "主体信息,根据类型决定(设备CODE/工人SN)")
    private String mainId;
    /**
     * 同步请求路径
     */
    @Excel(name = "同步请求路径", width = 15)
    @ApiModelProperty(value = "同步请求路径")
    private String requestUrl;
    /**
     * 同步请求体
     */
    @Excel(name = "同步请求体", width = 15)
    @ApiModelProperty(value = "同步请求体")
    private String content;
    /**
     * 同步状态(0:未成功;1:已成功)
     */
    @Excel(name = "同步状态(0:未成功;1:已成功)", width = 15)
    @ApiModelProperty(value = "同步状态(0:未成功;1:已成功)")
    private Integer state;

    /**
     * 同步数据类型(1:考勤设备;2:考勤人员;)
     */
    @Excel(name = "同步数据类型(1:考勤设备;2:考勤人员;)", width = 15)
    @ApiModelProperty(value = "同步数据类型(1:考勤设备;2:考勤人员;)")
    private Integer type;
}
