浏览代码

增加 type_authority

lfj 3 年之前
父节点
当前提交
57b4df4131

+ 36 - 0
fjs-scenic-entity/src/main/java/com/fjs/scenic/entity/system/TypeAuthority.java

@@ -0,0 +1,36 @@
+package com.fjs.scenic.entity.system;
+
+import java.io.Serializable;
+
+import lombok.Data;
+
+/**
+ * 后台管理员 景区资料录入权限信息(TypeAuthority)实体类
+ *
+ * @author lfj
+ * @since 2021-09-27 11:46:45
+ */
+
+@Data
+public class TypeAuthority implements Serializable {
+    private static final long serialVersionUID = -70209948025701673L;
+
+    private Integer id;
+    /**
+     * 公司
+     */
+    private Integer company;
+    /**
+     * 景区
+     */
+    private Integer scenic;
+    /**
+     * 0全部 1只读;景区销售权限
+     */
+    private Boolean authority;
+    /**
+     * 管理者
+     */
+    private Integer manager;
+
+}

+ 14 - 0
fjs-scenic-mapper/src/main/java/com/fjs/scenic/mapper/system/TypeAuthorityMapper.java

@@ -0,0 +1,14 @@
+package com.fjs.scenic.mapper.system;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.fjs.scenic.entity.system.TypeAuthority;
+
+/**
+ * 后台管理员 景区资料录入权限信息(TypeAuthority)表数据库访问层
+ *
+ * @author lfj
+ * @since 2021-09-27 11:46:40
+ */
+public interface TypeAuthorityMapper extends BaseMapper<TypeAuthority> {
+
+}

+ 14 - 0
fjs-scenic-service/src/main/java/com/fjs/scenic/service/system/TypeAuthorityService.java

@@ -0,0 +1,14 @@
+package com.fjs.scenic.service.system;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.fjs.scenic.entity.system.TypeAuthority;
+
+/**
+ * 后台管理员 景区资料录入权限信息(TypeAuthority)表服务接口
+ *
+ * @author lfj
+ * @since 2021-09-27 13:53:29
+ */
+public interface TypeAuthorityService extends IService<TypeAuthority> {
+
+}

+ 18 - 0
fjs-scenic-service/src/main/java/com/fjs/scenic/service/system/impl/TypeAuthorityServiceImpl.java

@@ -0,0 +1,18 @@
+package com.fjs.scenic.service.system.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.fjs.scenic.entity.system.TypeAuthority;
+import com.fjs.scenic.mapper.system.TypeAuthorityMapper;
+import com.fjs.scenic.service.system.TypeAuthorityService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 后台管理员 景区资料录入权限信息(TypeAuthority)表服务实现类
+ *
+ * @author lfj
+ * @since 2021-09-27 13:53:31
+ */
+@Service("typeAuthorityService")
+public class TypeAuthorityServiceImpl extends ServiceImpl<TypeAuthorityMapper, TypeAuthority> implements TypeAuthorityService {
+
+}