package com.gxwebsoft.cms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "图片DTO", description = "图片DTO")
public class CmsAdVo implements Serializable {

  @Schema(description = "ID")
  @TableField(exist = false)
  private Integer uid;

  @Schema(description = "名称")
  @TableField(exist = false)
  private String title;

  @Schema(description = "图片路径")
  @TableField(exist = false)
  private String url;

  @Schema(description = "视频地址")
  @TableField(exist = false)
  private String video;

  @Schema(description = "状态")
  @TableField(exist = false)
  private String status;

  @Schema(description = "图片宽")
  @TableField(exist = false)
  private Integer width;

  @Schema(description = "图片高")
  @TableField(exist = false)
  private Integer height;
}
