自动化立体仓库 - WMS系统
13
zhang
昨天 82de5a307466894bbb0258f8a63a26a7bb96d80d
src/main/java/com/zy/system/entity/Host.java
@@ -44,13 +44,14 @@
    private Date updateTime;
    /**
     * 状态 1: 正常  0: 禁用
     * 状态 1: 正常  0: 禁用
     */
    private Integer status;
    public Host() {}
    public Host() {
    }
    public Host(String name,String flag,Date createTime,Date updateTime,Integer status) {
    public Host(String name, String flag, Date createTime, Date updateTime, Integer status) {
        this.name = name;
        this.flag = flag;
        this.createTime = createTime;
@@ -94,8 +95,8 @@
        return createTime;
    }
    public String getCreateTime$(){
        if (Cools.isEmpty(this.createTime)){
    public String getCreateTime$() {
        if (Cools.isEmpty(this.createTime)) {
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
@@ -109,8 +110,8 @@
        return updateTime;
    }
    public String getUpdateTime$(){
        if (Cools.isEmpty(this.updateTime)){
    public String getUpdateTime$() {
        if (Cools.isEmpty(this.updateTime)) {
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
@@ -124,9 +125,11 @@
        return status;
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){
    public String getStatus$() {
        if (null == this.status) {
            return null;
        }
        switch (this.status) {
            case 1:
                return "正常";
            case 0: