cl
8 小时以前 8943a4e9f5ee1455c56ac4af60d941fa23731051
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Stock.java
@@ -28,6 +28,7 @@
import com.vincent.rsf.server.system.service.UserService;
import com.vincent.rsf.server.system.entity.User;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
@@ -78,6 +79,15 @@
     */
    @ApiModelProperty(value= "库存数量")
    private Double anfme;
    @ApiModelProperty(value= "重量")
    private BigDecimal weight;
    @ApiModelProperty(value= "条形码")
    private String barcode;
    @ApiModelProperty("库位")
    private String locCode;
    /**
     * 状态 1: 正常  0: 冻结  
@@ -225,20 +235,6 @@
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
    }
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return true;
            case 0:
                return false;
            default:
                return null;
        }
    }
}