package com.izouma.wenlvju.domain.regulation;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.izouma.wenlvju.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.Where;
import org.springframework.data.annotation.CreatedDate;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "监控日志")
@Where(clause = "del = 0")
public class EquipmentLog {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @ExcelIgnore
    private Long id;

    @CreatedDate
    private LocalDateTime createdAt;

    private String examRoomId;

    private String deviceSerial;

    private String organizationId;

    private boolean del;
}
