package com.webchat.repository.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

/**
 * @Author 程序员七七
 * @webSite https://www.coderutil.com
 * @Date 2024/9/18 23:24
 * @description
 */

@Data
@Entity
@Table(name = "web_chat_slide_verification")
public class SlideVerificationEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;

    @Column(name = "image")
    private String image;

    @Column(name = "status")
    private Integer status;

    @Version
    @Column(name = "version")
    private Integer version;
}
