vince
2024-12-13 d3e48589ea2719cdde41b87fc1ad80f4ee509bac
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.fzzy.io.request;
 
import com.fzzy.api.utils.ContextUtil;
import lombok.Data;
 
import java.util.Date;
 
/**
 *
 */
@Data
public class BaseRequest {
 
    private String orderId;//自定义命令ID
 
    private String deptId;
 
    private String companyId;//组织编码
 
    private String depotId;//仓库编号
 
    private String serId = "0";//分机编号
 
    private String ip; //分机IP
 
    private Integer port;//分机端口号
 
    private String bizType;//业务类型
 
    private String serName;
 
    private String depotName;
 
    private String protocol;
 
    private Date exeTime = new Date();//执行时间
 
 
    public BaseRequest() {
        super();
        this.orderId = ContextUtil.buildExeOrderId(null, null, null);
    }
 
    public BaseRequest(String companyId, String serId, String bizType) {
        this.orderId = ContextUtil.buildExeOrderId(companyId, serId, bizType);
        this.companyId = companyId;
        this.serId = serId;
        this.bizType = bizType;
    }
}