危化品全生命周期管理后端
kongzy
2024-08-22 0c73654f55844e34772732914af8cc1e247aab63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.gkhy.hazmat.common.listener;
 
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;
 
/**
 * 危化品入库事件
 */
@Getter
@Setter
public class EntryEvent extends ApplicationEvent {
    //入库记录Id
    private Long entryRecordId;
 
    //条码前缀
    private String codePrex;
 
    //操作用户公司id
    private Long  companyId;
 
    //操作用户id
    private Long userId;
 
    public EntryEvent(Object source, Long entryRecordId,String codePrex,Long companyId,Long userId) {
        super(source);
        this.entryRecordId=entryRecordId;
        this.codePrex=codePrex;
        this.companyId=companyId;
        this.userId=userId;
    }
}