package com.kuyuntech.vrv.coreservice.domain.core;

import com.wbspool.fastboot.core.jpa.entiy.FastbootEntity;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 操作验证码表
 *
 * @author linzhm
 * @version 2019年6月15日16:38:06
 * @description 操作验证码表对应实体
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "fb_auth_verify_code")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class VerifyCode extends FastbootEntity {


    @Column(columnDefinition = "varchar(255) COMMENT '验证码类型'")
    private String type;


    @Column(columnDefinition = "varchar(255) COMMENT '验证码'")
    private String verifyCode;


    @Column(columnDefinition = "varchar(255) COMMENT '有效期'")
    private Long expireTime;


    @Column(columnDefinition = "varchar(255) COMMENT '是否已验证'")
    private String verified;

}
