XklApiKeyEntity.java
788 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;//状态,2/3为可用
@Basic
@Column(name = "active_status")
private byte activeStatus;//数据共享接口开关,1为激活
@Basic
@Column(name = "remark")
private String remark;
@Basic
@Column(name = "status")
private byte status;//是否删除标记,0为删除,1为有效
}