|
@@ -12,7 +12,7 @@ import java.io.Serializable;
|
|
|
* </p>
|
|
|
*
|
|
|
* @author zhaops
|
|
|
- * @since 2018-09-17
|
|
|
+ * @since 2018-09-18
|
|
|
*/
|
|
|
@TableName("diag_service_token")
|
|
|
public class ServiceToken implements Serializable {
|
|
@@ -63,7 +63,7 @@ public class ServiceToken implements Serializable {
|
|
|
private String appKeySecret;
|
|
|
|
|
|
/**
|
|
|
- * 令牌类型
|
|
|
+ * 令牌类型(1:online,2:手动,3:试用)
|
|
|
*/
|
|
|
private Integer type;
|
|
|
|
|
@@ -72,6 +72,16 @@ public class ServiceToken implements Serializable {
|
|
|
*/
|
|
|
private String status;
|
|
|
|
|
|
+ /**
|
|
|
+ * 开通日期
|
|
|
+ */
|
|
|
+ private LocalDateTime startingDate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 到期时间
|
|
|
+ */
|
|
|
+ private LocalDateTime expiringDate;
|
|
|
+
|
|
|
/**
|
|
|
* 备注
|
|
|
*/
|
|
@@ -166,6 +176,22 @@ public class ServiceToken implements Serializable {
|
|
|
this.status = status;
|
|
|
}
|
|
|
|
|
|
+ public LocalDateTime getStartingDate() {
|
|
|
+ return startingDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStartingDate(LocalDateTime startingDate) {
|
|
|
+ this.startingDate = startingDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getExpiringDate() {
|
|
|
+ return expiringDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExpiringDate(LocalDateTime expiringDate) {
|
|
|
+ this.expiringDate = expiringDate;
|
|
|
+ }
|
|
|
+
|
|
|
public String getRemark() {
|
|
|
return remark;
|
|
|
}
|
|
@@ -188,6 +214,8 @@ public class ServiceToken implements Serializable {
|
|
|
", appKeySecret=" + appKeySecret +
|
|
|
", type=" + type +
|
|
|
", status=" + status +
|
|
|
+ ", startingDate=" + startingDate +
|
|
|
+ ", expiringDate=" + expiringDate +
|
|
|
", remark=" + remark +
|
|
|
"}";
|
|
|
}
|