package com.fzzy.gateway.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
|
/**
|
* 网关配置
|
*/
|
@Data
|
@Entity
|
@Table(name = "G_GATEWAY_CONF")
|
public class GatewayConf implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 8687625896329163486L;
|
|
@Id
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 50)
|
private String kqdm;
|
|
@PropertyDef(label = "库区名称")
|
@Column(name = "kqmc", length = 100)
|
private String kqmc;
|
|
@PropertyDef(label = "用户名")
|
@Column(name = "username", length = 50)
|
private String userName;
|
|
@PropertyDef(label = "密码")
|
@Column(name = "password", length = 50)
|
private String password;
|
|
@PropertyDef(label = "省平台加密公钥")
|
@Column(name = "publicKey", length = 200)
|
private String publicKey;
|
|
@PropertyDef(label = "省平台接口地址")
|
@Column(name = "apiUrl", length = 200)
|
private String apiUrl;
|
|
@PropertyDef(label = "推送协议")
|
@Column(name = "pushProtocol", length = 20)
|
private String pushProtocol;
|
|
@PropertyDef(label = "粮库系统库区代码")
|
@Column(name = "deptId", length = 50)
|
private String deptId;
|
|
@PropertyDef(label = "是否上线")
|
@Column(name = "exe_tag", length = 2)
|
private String exeTag ="Y";
|
|
}
|