package com.red.circle.console.app.dto.cmd.app.sys;

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

/**
 * 活动模版.
 *
 * @author pengliang on 2022/8/12
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class ActivityTemplateConsoleQryCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 模版id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 最后一条记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long lastId;

  /**
   * 每页数量.
   */
  private Integer limit;

}
