package shop.alien.store.dto;

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

/**
 * 生成短链响应
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "短链生成结果")
public class ShortLinkShortenResponse {

    @ApiModelProperty(value = "完整短链接，可直接用于微信分享")
    private String shortUrl;

    @ApiModelProperty(value = "短码（路径段）")
    private String code;
}
