| | |
| | | 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 com.baomidou.mybatisplus.annotation.*; |
| | | import com.zy.acs.manager.manager.service.AgvModelService; |
| | | import com.zy.acs.manager.manager.service.AgvStsService; |
| | | import com.zy.acs.framework.common.Cools; |
| | |
| | | private Integer deleted; |
| | | |
| | | @ApiModelProperty(value = "租户[sys_tenant]") |
| | | private Integer tenantId; |
| | | private Long tenantId; |
| | | |
| | | @ApiModelProperty(value = "添加人员[sys_user]") |
| | | private Integer createBy; |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | |
| | | @ApiModelProperty(value = "修改人员[sys_user]") |
| | | private Integer updateBy; |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | private Date updateTime; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | private String memo; |
| | | |
| | | @TableField(exist = false) |
| | | private AgvDetail agvDetail; |
| | | |
| | | @TableField(exist = false) |
| | | private AgvModel agvModelData; |
| | | |
| | | @TableField(exist = false) |
| | | private Boolean online = Boolean.FALSE; |
| | | |
| | | public String getAgvSts$(){ |
| | | AgvStsService service = SpringUtils.getBean(AgvStsService.class); |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getStatus$(){ |
| | | public Boolean getStatusBool(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | | case 1: |
| | | return "正常"; |
| | | return true; |
| | | case 0: |
| | | return "冻结"; |
| | | return false; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |