XklApiKeyEntity.java 680 Bytes
package com.xkl.domain;

import lombok.Data;

import javax.persistence.*;

/**
 * Created by fangyeqing on 2017/3/13.
 */
@Data
@Entity
@Table(name = "xkl_api_key")
public class XklApiKeyEntity {
    @Id
    @Column(name = "id")
    private long id;
    @Basic
    @Column(name = "api_key")
    private String apiKey;
    @Basic
    @Column(name = "company_id")
    private long companyId;
    @Basic
    @Column(name = "access_status")
    private byte accessStatus;
    @Basic
    @Column(name = "active_status")
    private byte activeStatus;
    @Basic
    @Column(name = "remark")
    private String remark;
    @Basic
    @Column(name = "status")
    private byte status;
}