package com.sz.admin.monitor.pojo.po;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import com.sz.mysql.EntityChangeListener;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;

import java.io.Serializable;

/**
 * 人脸库表 实体类
 */

@Data
@Table(value = "ry_face_library", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "人脸库表")
public class FaceLibrary implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id(keyType = KeyType.Auto)
    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "库名称")
    private String name;
    @Schema(description = "库ID")
    private Integer albumId;
    @Schema(description = "边缘盒子的id")
    private Long boxId;
}