oyq28 1 年間 前
コミット
4fc7540526

+ 26 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/centralToolMagazine/dao/ToolHandleMapper.java

@@ -0,0 +1,26 @@
+package com.github.zuihou.business.centralToolMagazine.dao;
+
+
+import com.baomidou.mybatisplus.core.conditions.Wrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.core.toolkit.Constants;
+import com.github.zuihou.base.mapper.SuperMapper;
+import com.github.zuihou.business.centralToolMagazine.entity.ToolHandle;
+import com.github.zuihou.database.mybatis.auth.DataScope;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+/**
+ * <p>
+ * Mapper 接口
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @date 2024-01-19
+ */
+@Repository
+public interface ToolHandleMapper extends SuperMapper<ToolHandle> {
+    IPage<ToolHandle> pageList(IPage page, @Param(Constants.WRAPPER) Wrapper<ToolHandle> queryWrapper, DataScope dataScope);
+
+}

+ 31 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/centralToolMagazine/service/ToolHandleService.java

@@ -0,0 +1,31 @@
+package com.github.zuihou.business.centralToolMagazine.service;
+
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.github.zuihou.base.service.SuperCacheService;
+import com.github.zuihou.business.centralToolMagazine.dto.ToolHandleSaveDTO;
+import com.github.zuihou.business.centralToolMagazine.dto.ToolHandleUpdateDTO;
+import com.github.zuihou.business.centralToolMagazine.dto.ToolManagementSaveDTO;
+import com.github.zuihou.business.centralToolMagazine.entity.ToolHandle;
+import com.github.zuihou.database.mybatis.conditions.query.LbqWrapper;
+
+/**
+ * <p>
+ * 业务接口
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @date 2024-01-19
+ */
+public interface ToolHandleService extends SuperCacheService<ToolHandle> {
+IPage<ToolHandle> pageList(IPage page, LbqWrapper<ToolHandle> wrapper);
+
+ ToolHandle save(ToolHandleSaveDTO data);
+
+ ToolHandle update(ToolHandleUpdateDTO data);
+
+ Boolean delete(ToolHandle model);
+
+ boolean check(ToolHandleSaveDTO model);
+}

+ 72 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/centralToolMagazine/service/impl/ToolHandleServiceImpl.java

@@ -0,0 +1,72 @@
+package com.github.zuihou.business.centralToolMagazine.service.impl;
+
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.github.zuihou.base.service.SuperCacheServiceImpl;
+import com.github.zuihou.business.centralToolMagazine.dao.ToolHandleMapper;
+import com.github.zuihou.business.centralToolMagazine.dao.ToolManagementMapper;
+import com.github.zuihou.business.centralToolMagazine.dto.ToolHandleSaveDTO;
+import com.github.zuihou.business.centralToolMagazine.dto.ToolHandleUpdateDTO;
+import com.github.zuihou.business.centralToolMagazine.entity.ToolHandle;
+import com.github.zuihou.business.centralToolMagazine.entity.ToolManagement;
+import com.github.zuihou.business.centralToolMagazine.service.ToolHandleService;
+import com.github.zuihou.business.centralToolMagazine.service.ToolManagementService;
+import com.github.zuihou.database.mybatis.auth.DataScope;
+import com.github.zuihou.database.mybatis.conditions.Wraps;
+import com.github.zuihou.database.mybatis.conditions.query.LbqWrapper;
+import com.github.zuihou.utils.BeanPlusUtil;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import static com.github.zuihou.common.constant.CacheKey.TENANT;
+
+/**
+ * <p>
+ * 业务实现类
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @date 2024-01-19
+ */
+@Slf4j
+@Service
+public class ToolHandleServiceImpl extends SuperCacheServiceImpl<ToolHandleMapper, ToolHandle> implements ToolHandleService {
+
+    @Override
+    protected String getRegion() {
+        return TENANT;
+    }
+    @Override
+    public IPage<ToolHandle> pageList(IPage page, LbqWrapper<ToolHandle> wrapper) {
+        return baseMapper.pageList(page, wrapper, new DataScope());
+    }
+
+    @Override
+    @Transactional(rollbackFor = Exception.class)
+    public ToolHandle save(ToolHandleSaveDTO data) {
+        ToolHandle model = BeanPlusUtil.toBean(data, ToolHandle.class);
+        save(model);
+        return model;
+    }
+
+    @Override
+    @Transactional(rollbackFor = Exception.class)
+    public ToolHandle update(ToolHandleUpdateDTO data) {
+        ToolHandle model = BeanPlusUtil.toBean(data, ToolHandle.class);
+        updateById(model);
+        return model;
+    }
+
+    @Override
+    @Transactional(rollbackFor = Exception.class)
+    public Boolean delete(ToolHandle model) {
+        return removeById(model);
+    }
+
+    @Override
+    public boolean check(ToolHandleSaveDTO model) {
+        return super.count(Wraps.<ToolHandle>lbQ().eq(ToolHandle::getHandleName, model.getHandleName())) > 0;
+    }
+}

+ 32 - 0
imcs-admin-boot/imcs-business-biz/src/main/resources/mapper_business/base/centralToolMagezine/ToolHandleMapper.xml

@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.github.zuihou.business.centralToolMagazine.dao.ToolHandleMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.github.zuihou.business.centralToolMagazine.entity.ToolHandle">
+        <result column="id" jdbcType="BIGINT" property="id"/>
+        <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
+        <result column="handle_name" jdbcType="VARCHAR" property="handleName"/>
+        <result column="handle_code" jdbcType="VARCHAR" property="handleCode"/>
+        <result column="handle_material" jdbcType="VARCHAR" property="handleMaterial"/>
+        <result column="handle_length" jdbcType="DECIMAL" property="handleLength"/>
+        <result column="handle_diameter" jdbcType="DECIMAL" property="handleDiameter"/>
+        <result column="handle_weight" jdbcType="DECIMAL" property="handleWeight"/>
+        <result column="manufacturer" jdbcType="VARCHAR" property="manufacturer"/>
+        <result column="manufacturing_date" jdbcType="DATE" property="manufacturingDate"/>
+        <result column="usage_status" jdbcType="VARCHAR" property="usageStatus"/>
+        <result column="create_user" jdbcType="BIGINT" property="createUser"/>
+    </resultMap>
+
+    <!-- 通用查询结果列 -->
+    <sql id="Base_Column_List">
+        id,create_time,
+        handle_name, handle_code, handle_material, handle_length, handle_diameter, handle_weight, manufacturer, manufacturing_date, usage_status, create_user
+    </sql>
+
+    <select id="pageList" resultMap="BaseResultMap">
+        select * from imcs_tool_handle
+        ${ew.customSqlSegment}
+    </select>
+
+</mapper>

+ 94 - 0
imcs-admin-boot/imcs-business-controller/src/main/java/com/github/zuihou/business/controller/centralToolMagazine/ToolHandleController.java

@@ -0,0 +1,94 @@
+package com.github.zuihou.business.controller.centralToolMagazine;
+
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+import cn.hutool.core.bean.BeanUtil;
+import com.github.zuihou.base.R;
+import com.github.zuihou.base.controller.SuperCacheController;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.github.zuihou.base.request.PageParams;
+import com.github.zuihou.business.centralToolMagazine.dto.*;
+import com.github.zuihou.business.centralToolMagazine.entity.ToolHandle;
+import com.github.zuihou.business.centralToolMagazine.entity.ToolManagement;
+import com.github.zuihou.business.centralToolMagazine.service.ToolHandleService;
+import com.github.zuihou.database.mybatis.conditions.query.LbqWrapper;
+import com.github.zuihou.database.mybatis.conditions.query.QueryWrap;
+import com.github.zuihou.log.annotation.SysLog;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+
+/**
+ * <p>
+ * 前端控制器
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @date 2024-01-19
+ */
+@Slf4j
+@Validated
+@RestController
+@RequestMapping("/toolHandle")
+@Api(value = "ToolHandle", tags = "刀柄")
+@SysLog(enabled = true)
+public class ToolHandleController extends SuperCacheController<ToolHandleService, Long, ToolHandle, ToolHandlePageQuery, ToolHandleSaveDTO, ToolHandleUpdateDTO> {
+
+
+    @Override
+    public void query(PageParams<ToolHandlePageQuery> params, IPage<ToolHandle> page, Long defSize) {
+        ToolHandlePageQuery data = params.getModel();
+        QueryWrap<ToolHandle> wrap = handlerWrapper(null, params);
+        LbqWrapper<ToolHandle> wrapper = wrap.lambda();
+        ToolHandle en = BeanUtil.toBean(data, ToolHandle.class);
+        wrapper.like(ToolHandle::getHandleName,en.getHandleName())
+                .eq(ToolHandle::getHandleCode,en.getHandleCode())
+                .orderByDesc(ToolHandle::getCreateTime);
+        baseService.pageList(page, wrapper);
+    }
+
+
+    /**
+    * 保存
+    */
+    @Override
+    public R<ToolHandle> handlerSave(ToolHandleSaveDTO model) {
+        ToolHandle common = baseService.save(model);
+        return success(common);
+    }
+
+    /**
+    *
+    * 修改
+    */
+    @ApiOperation(value = "修改刀柄", notes = "修改刀柄")
+    @PostMapping("/update")
+    public R<ToolHandle> update(@RequestBody ToolHandleUpdateDTO model) {
+        ToolHandle common = baseService.update(model);
+        return success(common);
+    }
+
+    /**
+    *
+    * 删除
+    */
+    @ApiOperation(value = "删除刀柄", notes = "删除刀柄")
+    @PostMapping("/delete")
+    public R<Boolean> delete(@RequestBody ToolHandle model) {
+        return success(baseService.delete(model));
+    }
+
+    @ApiOperation(value = "检测仓库类型是否存在", notes = "检测仓库类型是否存在")
+    @RequestMapping(value = "/check", method = RequestMethod.POST)
+    public R<Boolean> check(@RequestBody ToolHandleSaveDTO model) {
+        return success(baseService.check(model));
+    }
+
+}

+ 79 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/centralToolMagazine/dto/ToolHandlePageQuery.java

@@ -0,0 +1,79 @@
+package com.github.zuihou.business.centralToolMagazine.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.*;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.time.LocalDate;
+
+/**
+ * <p>
+ * 实体类
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @since 2024-01-19
+ */
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@Accessors(chain = true)
+@ToString(callSuper = true)
+@EqualsAndHashCode(callSuper = false)
+@Builder
+@ApiModel(value = "ToolHandlePageQuery", description = "刀柄")
+public class ToolHandlePageQuery implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 刀柄名称
+     */
+    @ApiModelProperty(value = "刀柄名称")
+    private String handleName;
+    /**
+     * 刀柄型号
+     */
+    @ApiModelProperty(value = "刀柄型号")
+    private String handleCode;
+    /**
+     * 刀柄材料
+     */
+    @ApiModelProperty(value = "刀柄材料")
+    private String handleMaterial;
+    /**
+     * 刀柄长度
+     */
+    @ApiModelProperty(value = "刀柄长度")
+    private BigDecimal handleLength;
+    /**
+     * 刀柄直径
+     */
+    @ApiModelProperty(value = "刀柄直径")
+    private BigDecimal handleDiameter;
+    /**
+     * 刀柄重量
+     */
+    @ApiModelProperty(value = "刀柄重量")
+    private BigDecimal handleWeight;
+    /**
+     * 生产厂家
+     */
+    @ApiModelProperty(value = "生产厂家")
+    private String manufacturer;
+    /**
+     * 制造日期
+     */
+    @ApiModelProperty(value = "制造日期")
+    private LocalDate manufacturingDate;
+    /**
+     * 使用状态
+     */
+    @ApiModelProperty(value = "使用状态")
+    private String usageStatus;
+
+}

+ 90 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/centralToolMagazine/dto/ToolHandleSaveDTO.java

@@ -0,0 +1,90 @@
+package com.github.zuihou.business.centralToolMagazine.dto;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.TableField;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.*;
+import lombok.experimental.Accessors;
+
+import javax.validation.constraints.Size;
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.time.LocalDate;
+
+/**
+ * <p>
+ * 实体类
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @since 2024-01-19
+ */
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@Accessors(chain = true)
+@ToString(callSuper = true)
+@EqualsAndHashCode(callSuper = false)
+@Builder
+@ApiModel(value = "ToolHandleSaveDTO", description = "刀柄")
+public class ToolHandleSaveDTO implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+    private Long id;
+    /**
+     * 刀柄名称
+     */
+    @ApiModelProperty(value = "刀柄名称")
+    @Size(max = 255, message = "刀柄名称长度不能超过255")
+    private String handleName;
+    /**
+     * 刀柄型号
+     */
+    @ApiModelProperty(value = "刀柄型号")
+    @Size(max = 255, message = "刀柄型号长度不能超过255")
+    private String handleCode;
+    /**
+     * 刀柄材料
+     */
+    @ApiModelProperty(value = "刀柄材料")
+    @Size(max = 255, message = "刀柄材料长度不能超过255")
+    private String handleMaterial;
+    /**
+     * 刀柄长度
+     */
+    @ApiModelProperty(value = "刀柄长度")
+    private BigDecimal handleLength;
+    /**
+     * 刀柄直径
+     */
+    @ApiModelProperty(value = "刀柄直径")
+    private BigDecimal handleDiameter;
+    /**
+     * 刀柄重量
+     */
+    @ApiModelProperty(value = "刀柄重量")
+    private BigDecimal handleWeight;
+    /**
+     * 生产厂家
+     */
+    @ApiModelProperty(value = "生产厂家")
+    @Size(max = 255, message = "生产厂家长度不能超过255")
+    private String manufacturer;
+    /**
+     * 制造日期
+     */
+    @ApiModelProperty(value = "制造日期")
+    private LocalDate manufacturingDate;
+    /**
+     * 使用状态
+     */
+    @ApiModelProperty(value = "使用状态")
+    @Size(max = 50, message = "使用状态长度不能超过50")
+    private String usageStatus;
+
+    @ApiModelProperty(value = "刀具ID")
+    private Long toolId;
+
+}

+ 90 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/centralToolMagazine/dto/ToolHandleUpdateDTO.java

@@ -0,0 +1,90 @@
+package com.github.zuihou.business.centralToolMagazine.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.*;
+import lombok.experimental.Accessors;
+
+import javax.validation.constraints.Size;
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.time.LocalDate;
+
+/**
+ * <p>
+ * 实体类
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @since 2024-01-19
+ */
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@Accessors(chain = true)
+@ToString(callSuper = true)
+@EqualsAndHashCode(callSuper = false)
+@Builder
+@ApiModel(value = "ToolHandleUpdateDTO", description = "刀柄")
+public class ToolHandleUpdateDTO implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+
+    private Long id;
+    /**
+     * 刀柄名称
+     */
+    @ApiModelProperty(value = "刀柄名称")
+    @Size(max = 255, message = "刀柄名称长度不能超过255")
+    private String handleName;
+    /**
+     * 刀柄型号
+     */
+    @ApiModelProperty(value = "刀柄型号")
+    @Size(max = 255, message = "刀柄型号长度不能超过255")
+    private String handleCode;
+    /**
+     * 刀柄材料
+     */
+    @ApiModelProperty(value = "刀柄材料")
+    @Size(max = 255, message = "刀柄材料长度不能超过255")
+    private String handleMaterial;
+    /**
+     * 刀柄长度
+     */
+    @ApiModelProperty(value = "刀柄长度")
+    private BigDecimal handleLength;
+    /**
+     * 刀柄直径
+     */
+    @ApiModelProperty(value = "刀柄直径")
+    private BigDecimal handleDiameter;
+    /**
+     * 刀柄重量
+     */
+    @ApiModelProperty(value = "刀柄重量")
+    private BigDecimal handleWeight;
+    /**
+     * 生产厂家
+     */
+    @ApiModelProperty(value = "生产厂家")
+    @Size(max = 255, message = "生产厂家长度不能超过255")
+    private String manufacturer;
+    /**
+     * 制造日期
+     */
+    @ApiModelProperty(value = "制造日期")
+    private LocalDate manufacturingDate;
+    /**
+     * 使用状态
+     */
+    @ApiModelProperty(value = "使用状态")
+    @Size(max = 50, message = "使用状态长度不能超过50")
+    private String usageStatus;
+
+    @ApiModelProperty(value = "刀具ID")
+    private Long toolId;
+
+}

+ 151 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/centralToolMagazine/entity/ToolHandle.java

@@ -0,0 +1,151 @@
+package com.github.zuihou.business.centralToolMagazine.entity;
+
+import java.math.BigDecimal;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.time.LocalDate;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.github.zuihou.base.entity.Entity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import javax.validation.constraints.Size;
+import java.time.LocalDateTime;
+import java.util.HashMap;
+import java.util.Map;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+
+import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;
+
+/**
+ * <p>
+ * 实体类
+ * 刀柄
+ * </p>
+ *
+ * @author zuihou
+ * @since 2024-01-19
+ */
+@Data
+@NoArgsConstructor
+@ToString(callSuper = true)
+@EqualsAndHashCode(callSuper = true)
+@Accessors(chain = true)
+@TableName("imcs_tool_handle")
+@ApiModel(value = "ToolHandle", description = "刀柄")
+@AllArgsConstructor
+public class ToolHandle extends Entity<Long> {
+
+    private static final long serialVersionUID = 1L;
+    @TableField(exist = false)
+    private Map<String, Object> echoMap = new HashMap<>();
+    /**
+     * 刀柄名称
+     */
+    @ApiModelProperty(value = "刀柄名称")
+    @Size(max = 255, message = "刀柄名称长度不能超过255")
+    @TableField(value = "handle_name", condition = LIKE)
+    @Excel(name = "刀柄名称")
+    private String handleName;
+
+    /**
+     * 刀柄型号
+     */
+    @ApiModelProperty(value = "刀柄编号")
+    @Size(max = 255, message = "刀柄编号长度不能超过255")
+    @TableField(value = "handle_code", condition = LIKE)
+    @Excel(name = "刀柄编号")
+    private String handleCode;
+
+    /**
+     * 刀柄材料
+     */
+    @ApiModelProperty(value = "刀柄材料")
+    @Size(max = 255, message = "刀柄材料长度不能超过255")
+    @TableField(value = "handle_material", condition = LIKE)
+    @Excel(name = "刀柄材料")
+    private String handleMaterial;
+
+    /**
+     * 刀柄长度
+     */
+    @ApiModelProperty(value = "刀柄长度")
+    @TableField(value = "handle_length")
+    @Excel(name = "刀柄长度")
+    private BigDecimal handleLength;
+
+    /**
+     * 刀柄直径
+     */
+    @ApiModelProperty(value = "刀柄直径")
+    @TableField(value = "handle_diameter")
+    @Excel(name = "刀柄直径")
+    private BigDecimal handleDiameter;
+
+    /**
+     * 刀柄重量
+     */
+    @ApiModelProperty(value = "刀柄重量")
+    @TableField(value = "handle_weight")
+    @Excel(name = "刀柄重量")
+    private BigDecimal handleWeight;
+
+    /**
+     * 生产厂家
+     */
+    @ApiModelProperty(value = "生产厂家")
+    @Size(max = 255, message = "生产厂家长度不能超过255")
+    @TableField(value = "manufacturer", condition = LIKE)
+    @Excel(name = "生产厂家")
+    private String manufacturer;
+
+    /**
+     * 制造日期
+     */
+    @ApiModelProperty(value = "制造日期")
+    @TableField(value = "manufacturing_date")
+    @Excel(name = "制造日期", format = "yyyy-MM-dd", width = 20)
+    private LocalDate manufacturingDate;
+
+    /**
+     * 使用状态
+     */
+    @ApiModelProperty(value = "使用状态")
+    @Size(max = 50, message = "使用状态长度不能超过50")
+    @TableField(value = "usage_status", condition = LIKE)
+    @Excel(name = "使用状态")
+    private String usageStatus;
+
+    @ApiModelProperty(value = "刀具ID")
+    @TableField("tool_id")
+    @Excel(name = "刀具ID")
+    private Long toolId;
+
+
+
+    @Builder
+    public ToolHandle(Long id, LocalDateTime createTime,
+                    String handleName, String handleCode, String handleMaterial, BigDecimal handleLength, BigDecimal handleDiameter,
+                    BigDecimal handleWeight, String manufacturer, LocalDate manufacturingDate, String usageStatus, Long createUser) {
+        this.id = id;
+        this.createTime = createTime;
+        this.handleName = handleName;
+        this.handleCode = handleCode;
+        this.handleMaterial = handleMaterial;
+        this.handleLength = handleLength;
+        this.handleDiameter = handleDiameter;
+        this.handleWeight = handleWeight;
+        this.manufacturer = manufacturer;
+        this.manufacturingDate = manufacturingDate;
+        this.usageStatus = usageStatus;
+        this.createUser = createUser;
+    }
+
+}