Kaynağa Gözat

四川日报压缩包推送

dengsixing 10 ay önce
ebeveyn
işleme
43cc9e7be5

+ 143 - 0
src/main/java/com/fdkankan/external/entity/CameraDetail.java

@@ -0,0 +1,143 @@
+package com.fdkankan.external.entity;
+
+import com.mybatisflex.annotation.Id;
+import com.mybatisflex.annotation.KeyType;
+import com.mybatisflex.annotation.Table;
+import java.io.Serializable;
+import java.math.BigInteger;
+import java.sql.Timestamp;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 相机子表 实体类。
+ *
+ * @author dsx
+ * @since 2024-10-21
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+@Table(value = "t_camera_detail")
+public class CameraDetail implements Serializable {
+
+    @Id(keyType = KeyType.Auto)
+    private Long id;
+
+    /**
+     * 余额
+     */
+    private String balance;
+
+    /**
+     * 用户表t_user的id
+     */
+    private Long userId;
+
+    /**
+     * 0表示客户,1表示员工,2表示赠送,3表示其他,4经销商销售
+     */
+    private Integer own;
+
+    /**
+     * 订单号
+     */
+    private String orderSn;
+
+    /**
+     * 0表示本国,1表示国外
+     */
+    private Integer country;
+
+    /**
+     * 经销商
+     */
+    private String agency;
+
+    /**
+     * 相机类型,0表示双目,1四维看看pro,2 四维看看lite,9 双目转台,10 激光转台
+     */
+    private Integer type;
+
+    /**
+     * 总容量
+     */
+    private BigInteger totalSpace;
+
+    /**
+     * 已使用容量
+     */
+    private BigInteger usedSpace;
+
+    /**
+     * 相机主表t_camera的id
+     */
+    private Long cameraId;
+
+    /**
+     * 商品表t_goods的id
+     */
+    private Long goodsId;
+
+    /**
+     * 企业表t_company的id
+     */
+    private Long companyId;
+
+    /**
+     * 代理商架构管理t_agent_framework的id
+     */
+    private Long agentFrameworkId;
+
+    /**
+     * 相机协作用户id
+     */
+    private Long cooperationUser;
+
+    /**
+     * 设备地址(追溯管理后台)
+     */
+    private String address;
+
+    /**
+     * 创建时间
+     */
+    private Timestamp createTime;
+
+    /**
+     * 更新时间
+     */
+    private Timestamp updateTime;
+
+    /**
+     * 记录的状态,A: 生效,I: 禁用
+     */
+    private String recStatus;
+
+    private String userCameraVersion;
+
+    private String appVersion;
+
+    private Timestamp lastRequestTime;
+
+    private Timestamp outTime;
+
+    /**
+     * 代理商id
+     */
+    private Integer agentId;
+
+    /**
+     * 购买时间
+     */
+    private Timestamp buyDate;
+
+    /**
+     * 相机容量单位,GB ,SP
+     */
+    private String unit;
+
+}

+ 14 - 0
src/main/java/com/fdkankan/external/mapper/CameraDetailMapper.java

@@ -0,0 +1,14 @@
+package com.fdkankan.external.mapper;
+
+import com.mybatisflex.core.BaseMapper;
+import com.fdkankan.external.entity.CameraDetail;
+
+/**
+ * 相机子表 映射层。
+ *
+ * @author dsx
+ * @since 2024-10-21
+ */
+public interface CameraDetailMapper extends BaseMapper<CameraDetail> {
+
+}

+ 14 - 0
src/main/java/com/fdkankan/external/service/ICameraDetailService.java

@@ -0,0 +1,14 @@
+package com.fdkankan.external.service;
+
+import com.mybatisflex.core.service.IService;
+import com.fdkankan.external.entity.CameraDetail;
+
+/**
+ * 相机子表 服务层。
+ *
+ * @author dsx
+ * @since 2024-10-21
+ */
+public interface ICameraDetailService extends IService<CameraDetail> {
+
+}

+ 18 - 0
src/main/java/com/fdkankan/external/service/impl/CameraDetailServiceImpl.java

@@ -0,0 +1,18 @@
+package com.fdkankan.external.service.impl;
+
+import com.mybatisflex.spring.service.impl.ServiceImpl;
+import com.fdkankan.external.entity.CameraDetail;
+import com.fdkankan.external.mapper.CameraDetailMapper;
+import com.fdkankan.external.service.ICameraDetailService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 相机子表 服务层实现。
+ *
+ * @author dsx
+ * @since 2024-10-21
+ */
+@Service
+public class CameraDetailServiceImpl extends ServiceImpl<CameraDetailMapper, CameraDetail> implements ICameraDetailService {
+
+}