package com.xunmei.system.util;

import cn.hutool.core.date.DateTime;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Builder
/**
 * 作息改变的事件
 */
public class WorkChangeEvent extends Event {

    private List<Long> orgIds;

    private DateTime dateTime;



    public WorkChangeEvent(List<Long> orgIds, DateTime dateTime) {
        this.orgIds = orgIds;
        this.dateTime = dateTime;
    }
}
