package com.yc.ship.module.miniapplet.controller.admin.advertlog.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 广告操作日志管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AdvertLogRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27580")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "广告id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26042")
    @ExcelProperty("广告id")
    private Long advertId;

    @Schema(description = "副标题")
    @ExcelProperty("副标题")
    private String subTitle;

    @Schema(description = "上传图片地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("上传图片地址")
    private String advertUrl;

    @Schema(description = "跳转地址", example = "https://www.iocoder.cn")
    @ExcelProperty("跳转地址")
    private String linkUrl;

    @Schema(description = "来源")
    @ExcelProperty("来源")
    private String appSource;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createDate;

    @Schema(description = "微信openId", example = "19783")
    @ExcelProperty("微信openId")
    private String openId;

}
