package com.hz.phis.dt; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; @Data public class AccessTokenDt { /**错误码*/ private String code; /**错误信息*/ private String msg; /**凭证*/ @JSONField(name = "access_token") private String accessToken; /**凭证的有效时间*/ @JSONField(name = "expires_surplus") private long expiresIn; /**剩余有效时间(秒)*/ @JSONField(name = "expires_surplus") private long expiresSurplus; /**有效时间开始时间*/ @JSONField(name = "create_time") private String createTime; }