package com.huimv.face.domain;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * @Project : huimv.shiwan
 * @Package : com.huimv.face.domain
 * @Description : 设备档案
 * @Author : yuxuexuan
 * @Create : 2020/12/29 0029 9:53
 **/

@Entity
@Data
@Table(name = "face_sbda")
public class FaceSbda {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID", nullable = false)
    private  Integer ID;

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

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

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

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

    @Column(name = "XGSJ",columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
    private Date XGSJ;

    @Column(name = "ZFBZ")
    private Byte ZFBZ;
}
