package com.red.circle.other.infra.database.rds.entity.dynamic;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 动态图片
 * </p>
 *
 * @author pengshigang
 * @since 2022-4-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dynamic_picture")
public class DynamicPicture extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId("id")
  private Long id;

  /**
   * 动态ID
   */
  @TableField("dynamic_id")
  private Long dynamicId;

  /**
   * 资源图片地址
   */
  @TableField("resource_url")
  private String resourceUrl;

  /**
   * 缩略图-资源图片地址
   */
  @TableField("mini_resource_url")
  private String miniResourceUrl;

  /**
   * 图片宽
   */
  @TableField("width")
  private Integer width;

  /**
   * 图片高
   */
  @TableField("height")
  private Integer height;

  /**
   * 序号
   */
  @TableField("sort")
  private Integer sort;

  /**
   * 违规状态
   */
  @TableField("violation")
  private String violation;

  /**
   * 机器审核标签
   */
  @TableField("label_names")
  private String labelNames;

}
