#
vincentlu
2025-12-15 0f637043262ce627511260f18abc1e2f8ea3bb11
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
package com.zy.acs.manager.manager.entity;
 
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.zy.acs.framework.common.Cools;
import com.zy.acs.framework.common.SpringUtils;
import com.zy.acs.manager.system.service.UserService;
import com.zy.acs.manager.system.service.HostService;
 
import java.io.Serializable;
import java.util.Date;
 
@Data
@TableName("man_area_agv")
public class AreaAgv implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * ID
     */
    @ApiModelProperty(value= "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @ApiModelProperty(value= "")
    private Long areaId;
 
    @ApiModelProperty(value= "")
    private Long agvId;
 
    public AreaAgv() {}
 
    public AreaAgv(Long areaId,Long agvId) {
        this.areaId = areaId;
        this.agvId = agvId;
    }
 
//    AreaAgv areaAgv = new AreaAgv(
//            null,    // [非空]
//            null    // [非空]
//    );
 
 
 
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return true;
            case 0:
                return false;
            default:
                return null;
        }
    }
 
}