package com.red.circle.other.inner.model.dto.sys;

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 lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 模版名称.
   */
  private String name;

}
