diff --git a/java/local/src/main/java/cn/toesbieya/jxc/mapper/SysEquipmentMapper.java b/java/local/src/main/java/cn/toesbieya/jxc/mapper/SysEquipmentMapper.java new file mode 100644 index 0000000..22de0ea --- /dev/null +++ b/java/local/src/main/java/cn/toesbieya/jxc/mapper/SysEquipmentMapper.java @@ -0,0 +1,12 @@ +package cn.toesbieya.jxc.mapper; + +import cn.toesbieya.jxc.model.entity.SysEquipment; +import cn.toesbieya.jxc.model.vo.result.RegionValueResult; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +import java.util.List; + +public interface SysEquipmentMapper extends BaseMapper { + List getLimitRegion(); + +} diff --git a/java/local/src/main/java/cn/toesbieya/jxc/model/entity/SysEquipment.java b/java/local/src/main/java/cn/toesbieya/jxc/model/entity/SysEquipment.java new file mode 100644 index 0000000..d164faf --- /dev/null +++ b/java/local/src/main/java/cn/toesbieya/jxc/model/entity/SysEquipment.java @@ -0,0 +1,66 @@ +package cn.toesbieya.jxc.model.entity; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class SysEquipment { + /** + * 设备编码 + */ + private Integer id; + /** + * 名称 + */ + private String name; + /** + * 型号 + */ + private String spec; + /** + * 功能简述 + */ + private String introduction; + /** + * 厂商 + */ + private String supplier; + /** + * 制造日期 + */ + private Long manuDate; + /** + * 购买日期 + */ + + private Long buyDate; + /** + * 存放位置 + */ + private String location; + /** + * 状态 + */ + private boolean enable = false; + /** + * 创建人id + */ + private Integer creatorId; + /** + * 创建时间 + */ + private Long createTime; + /** + * 修改人id + */ + private Integer updateId; + /** + * 修改时间 + */ + private Long updateTime; +}