package io.renren.modules.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 广告平台授权
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2022-05-30
 */
@Data
@ApiModel(value = "广告平台授权")
public class AdvertOauthDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@ApiModelProperty(value = "广告平台账号id")
	private String advertPlatformAccountId;

	@ApiModelProperty(value = "账号名称")
	private String accountName;

	@ApiModelProperty(value = "所属广告平台")
	private String advertPlatform;

	@ApiModelProperty(value = "授权状态")
	private String status;

	@ApiModelProperty(value = "access_token")
	private String accessToken;

	@ApiModelProperty(value = "refresh_token")
	private String refreshToken;

	@ApiModelProperty(value = "access_token有效时间（毫秒）")
	private Long accessTokenExpiresIn;

	@ApiModelProperty(value = "refresh_token有效时间（毫秒）")
	private Long refreshTokenExpiresIn;

	@ApiModelProperty(value = "access_token过期时间")
	private Date accessTokenExpireTime;

	@ApiModelProperty(value = "refresh_token过期时间")
	private Date refreshTokenExpireTime;

	@ApiModelProperty(value = "授权返回结果")
	private String authorizerInfo;

	@ApiModelProperty(value = "创建人")
	private Long createdBy;

	@ApiModelProperty(value = "修改人")
	private Long updatedBy;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "修改时间")
	private Date updateTime;

	@ApiModelProperty(value = "删除时间")
	private Date deleteTime;


}