|
@@ -0,0 +1,194 @@
|
|
|
+package com.diagbot.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 服务令牌表
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author zhaops
|
|
|
+ * @since 2018-09-17
|
|
|
+ */
|
|
|
+@TableName("diag_service_token")
|
|
|
+public class ServiceToken implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否删除 N:未删除,Y:删除
|
|
|
+ */
|
|
|
+ private String isDeleted;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 记录创建时间
|
|
|
+ */
|
|
|
+ private LocalDateTime gmtCreate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 记录修改时间
|
|
|
+ */
|
|
|
+ private LocalDateTime gmtModified;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人,0表示无创建人值
|
|
|
+ */
|
|
|
+ private String creator;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改人,如果为0则表示纪录未修改
|
|
|
+ */
|
|
|
+ private String modifier;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 产品服务关联id
|
|
|
+ */
|
|
|
+ private Long productSeviceId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 服务调用id
|
|
|
+ */
|
|
|
+ private String appKeyId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 服务调用密码
|
|
|
+ */
|
|
|
+ private String appKeySecret;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 令牌类型
|
|
|
+ */
|
|
|
+ private Integer type;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 状态(0:禁用,1:启用)
|
|
|
+ */
|
|
|
+ private String status;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 备注
|
|
|
+ */
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getIsDeleted() {
|
|
|
+ return isDeleted;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsDeleted(String isDeleted) {
|
|
|
+ this.isDeleted = isDeleted;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getGmtCreate() {
|
|
|
+ return gmtCreate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGmtCreate(LocalDateTime gmtCreate) {
|
|
|
+ this.gmtCreate = gmtCreate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getGmtModified() {
|
|
|
+ return gmtModified;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGmtModified(LocalDateTime gmtModified) {
|
|
|
+ this.gmtModified = gmtModified;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCreator() {
|
|
|
+ return creator;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreator(String creator) {
|
|
|
+ this.creator = creator;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getModifier() {
|
|
|
+ return modifier;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setModifier(String modifier) {
|
|
|
+ this.modifier = modifier;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getProductSeviceId() {
|
|
|
+ return productSeviceId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProductSeviceId(Long productSeviceId) {
|
|
|
+ this.productSeviceId = productSeviceId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAppKeyId() {
|
|
|
+ return appKeyId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAppKeyId(String appKeyId) {
|
|
|
+ this.appKeyId = appKeyId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAppKeySecret() {
|
|
|
+ return appKeySecret;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAppKeySecret(String appKeySecret) {
|
|
|
+ this.appKeySecret = appKeySecret;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setType(Integer type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStatus() {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatus(String status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRemark() {
|
|
|
+ return remark;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRemark(String remark) {
|
|
|
+ this.remark = remark;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "ServiceToken{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", isDeleted=" + isDeleted +
|
|
|
+ ", gmtCreate=" + gmtCreate +
|
|
|
+ ", gmtModified=" + gmtModified +
|
|
|
+ ", creator=" + creator +
|
|
|
+ ", modifier=" + modifier +
|
|
|
+ ", productSeviceId=" + productSeviceId +
|
|
|
+ ", appKeyId=" + appKeyId +
|
|
|
+ ", appKeySecret=" + appKeySecret +
|
|
|
+ ", type=" + type +
|
|
|
+ ", status=" + status +
|
|
|
+ ", remark=" + remark +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|