package com.bonus.canteen.core.account.domain.param;

import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class AccOperationQueryParam extends BaseEntity {
   @ApiModelProperty("操作事件 1启用 2停用")
   private Integer type;
   @ApiModelProperty("查询组织id集合")
   private List<Long> deptIds;
   @ApiModelProperty("开始时间")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private LocalDateTime startDateTime;
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   @ApiModelProperty("结束时间")
   private LocalDateTime endDateTime;
   private String searchValue;
   private String createBy;
}
