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

import cn.hutool.core.convert.Convert;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.NotNull;

import java.time.LocalDateTime;

/**
 * 金币分析查询.
 *
 * @author lixiaofei on 2021/9/2
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GoldAnalyzeBackCmd extends Convert {

  private static final long serialVersionUID = 1L;

  /**
   * 类型.
   */
  @NotNull
  private Integer type;

  /**
   * 归属系统.
   */
  @NotBlank
  private String sysOrigin;

  /**
   * 用户id.
   */
  private Long userId;

  /**
   * 开始时间.
   */
  @NotNull
  private LocalDateTime startTime;

  /**
   * 结束时间.
   */
  @NotNull
  private LocalDateTime endTime;
}
