package com.sptg.ad.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

/**
 * title: AdContentImg
 * package: com.sptg.ad.api.entity
 * description: 广告图片
 *
 *               
 *                 
 */
@Getter
@Setter
@TableName(value = "ad_content_img")
public class AdContentImg {
    /**
     *主键
     */
    @TableId(value = "l_id",type = IdType.AUTO)
    private Long id;
    /**
     * 广告Id
     */
    @TableField(value = "l_ad_id")
    private Long adId;
    /**
     * 排序
     */
    @TableField(value = "i_sort")
    private Integer sort;
    /**
     * 图片路径
     */
    @TableField(value = "s_img_uri")
    private String imgUri;

    /**
     * 图片的md5值
     */
    @TableField(value = "s_img_md5")
    private String imgMd5;

}
