package com.red.circle.other.inner.model.cmd.dynamic;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 动态图片
 * </p>
 *
 * @author pengshigang
 * @since 2022-4-19
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DynamicPictureCmd extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 动态内容ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long dynamicId;

  /**
   * 资源图片地址.
   */
  private String resourceUrl;

  /**
   * 压缩后的资源图片地址.
   */
  private String miniResourceUrl;

  /**
   * 图片宽.
   */
  private Integer width;

  /**
   * 图片高.
   */
  private Integer height;

  /**
   * 序号.
   */
  private Integer sort;

  /**
   * 违规状态.
   */
  private String violation;

  /**
   * 机器审核标签.
   */
  private String labelNames;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

}
