自动化立体仓库 - WCS系统
*
lsh
23 小时以前 98f1c4c9ffbbb3347ad752821505bc3c70ea4efc
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.zy.asrs.entity;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
 
@Data
@TableName("\"SOURCE\".\"asr_bas_devp_position\"")
public class BasDevpPosition implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * ID
     */
    @ApiModelProperty(value= "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;
 
    @ApiModelProperty(value= "")
    @TableField("DEV_NO")
    private Integer devNo;
 
    @ApiModelProperty(value= "")
    @TableField("PLC_ID")
    private Integer plcId;
 
    @ApiModelProperty(value= "")
    @TableField("PLC_POSITION")
    private Long plcPosition;
 
    public BasDevpPosition() {}
 
    public BasDevpPosition(Integer devNo, Integer plcId, Long plcPosition) {
        this.devNo = devNo;
        this.plcId = plcId;
        this.plcPosition = plcPosition;
    }
 
    public BasDevpPosition(BasDevpPosition basDevpPosition) {
        this.id = basDevpPosition.getId();
        this.devNo = basDevpPosition.getDevNo();
        this.plcId = basDevpPosition.getPlcId();
        this.plcPosition = basDevpPosition.getPlcPosition();
    }
 
    public BasDevpPosition(BasDevpPosition basDevpPosition,Long plcPosition) {
        this.id = basDevpPosition.getId();
        this.devNo = basDevpPosition.getDevNo();
        this.plcId = basDevpPosition.getPlcId();
        this.plcPosition = plcPosition;
    }
    //    BasDevpPosition basDevpPosition = new BasDevpPosition(
//            null,    // 
//            null,    // 
//            null    // 
//    );
 
 
}