拆分think模块包
This commit is contained in:
@@ -0,0 +1,271 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.gxwebsoft.common.system.entity.FileRecord;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 应用管理记录表
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-26 22:06:23
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "App对象", description = "应用管理记录表")
|
||||
@TableName("oa_app")
|
||||
public class App implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "应用ID")
|
||||
@TableId(value = "app_id", type = IdType.AUTO)
|
||||
private Integer appId;
|
||||
|
||||
@ApiModelProperty(value = "应用名称")
|
||||
private String appName;
|
||||
|
||||
@ApiModelProperty(value = "应用标识")
|
||||
private String appCode;
|
||||
|
||||
@ApiModelProperty(value = "应用秘钥")
|
||||
private String appSecret;
|
||||
|
||||
@ApiModelProperty(value = "上级id, 0是顶级")
|
||||
private Integer parentId;
|
||||
|
||||
@ApiModelProperty(value = "应用类型")
|
||||
private String appType;
|
||||
|
||||
@ApiModelProperty(value = "应用类型")
|
||||
private String appTypeMultiple;
|
||||
|
||||
@ApiModelProperty(value = "类型, 0菜单, 1按钮")
|
||||
private Integer menuType;
|
||||
|
||||
@ApiModelProperty(value = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String companyName;
|
||||
|
||||
@ApiModelProperty(value = "企业简称")
|
||||
@TableField(exist = false)
|
||||
private String shortName;
|
||||
|
||||
@ApiModelProperty(value = "企业商标")
|
||||
@TableField(exist = false)
|
||||
private String companyLogo;
|
||||
|
||||
@ApiModelProperty(value = "应用图标")
|
||||
private String appIcon;
|
||||
|
||||
@ApiModelProperty(value = "二维码")
|
||||
private String appQrcode;
|
||||
|
||||
@ApiModelProperty(value = "链接地址")
|
||||
private String appUrl;
|
||||
|
||||
@ApiModelProperty(value = "后台管理地址")
|
||||
private String adminUrl;
|
||||
|
||||
@ApiModelProperty(value = "下载地址")
|
||||
private String downUrl;
|
||||
|
||||
@ApiModelProperty(value = "链接地址")
|
||||
private String serverUrl;
|
||||
|
||||
@ApiModelProperty(value = "文件服务器")
|
||||
private String fileUrl;
|
||||
|
||||
@ApiModelProperty(value = "回调地址")
|
||||
private String callbackUrl;
|
||||
|
||||
@ApiModelProperty(value = "腾讯文档地址")
|
||||
private String docsUrl;
|
||||
|
||||
@ApiModelProperty(value = "代码仓库地址")
|
||||
private String gitUrl;
|
||||
|
||||
@ApiModelProperty(value = "原型图地址")
|
||||
private String prototypeUrl;
|
||||
|
||||
@ApiModelProperty(value = "IP白名单")
|
||||
private String ipAddress;
|
||||
|
||||
@ApiModelProperty(value = "应用截图")
|
||||
private String images;
|
||||
|
||||
@ApiModelProperty(value = "应用包名")
|
||||
private String packageName;
|
||||
|
||||
@ApiModelProperty(value = "下载次数")
|
||||
private Integer clicks;
|
||||
|
||||
@ApiModelProperty(value = "安装次数")
|
||||
private Integer installs;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "应用介绍")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty(value = "项目需求")
|
||||
private String requirement;
|
||||
|
||||
@ApiModelProperty(value = "开发者(个人或公司)")
|
||||
private String developer;
|
||||
|
||||
@ApiModelProperty(value = "项目负责人")
|
||||
private String director;
|
||||
|
||||
@ApiModelProperty(value = "项目经理")
|
||||
private String projectDirector;
|
||||
|
||||
@ApiModelProperty(value = "业务员")
|
||||
private String salesman;
|
||||
|
||||
@ApiModelProperty(value = "软件定价")
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty(value = "划线价格")
|
||||
private BigDecimal linePrice;
|
||||
|
||||
@ApiModelProperty(value = "评分")
|
||||
private String score;
|
||||
|
||||
@ApiModelProperty(value = "星级")
|
||||
private String star;
|
||||
|
||||
@ApiModelProperty(value = "菜单路由地址")
|
||||
private String path;
|
||||
|
||||
@ApiModelProperty(value = "菜单组件地址, 目录可为空")
|
||||
private String component;
|
||||
|
||||
@ApiModelProperty(value = "权限标识")
|
||||
private String authority;
|
||||
|
||||
@ApiModelProperty(value = "打开位置")
|
||||
private String target;
|
||||
|
||||
@ApiModelProperty(value = "是否隐藏, 0否, 1是(仅注册路由不显示在左侧菜单)")
|
||||
private Integer hide;
|
||||
|
||||
@ApiModelProperty(value = "禁止搜索,1禁止 0 允许")
|
||||
private Integer search;
|
||||
|
||||
@ApiModelProperty(value = "菜单侧栏选中的path")
|
||||
private String active;
|
||||
|
||||
@ApiModelProperty(value = "其它路由元信息")
|
||||
private String meta;
|
||||
|
||||
@ApiModelProperty(value = "版本,0正式版 1体验版 2开发版")
|
||||
private String edition;
|
||||
|
||||
@ApiModelProperty(value = "版本号")
|
||||
private String version;
|
||||
|
||||
@ApiModelProperty(value = "是否已安装")
|
||||
private Integer isUse;
|
||||
|
||||
@ApiModelProperty(value = "附近1")
|
||||
private String file1;
|
||||
|
||||
@ApiModelProperty(value = "附件2")
|
||||
private String file2;
|
||||
|
||||
@ApiModelProperty(value = "附件3")
|
||||
private String file3;
|
||||
|
||||
@ApiModelProperty(value = "是否在续费提醒显示")
|
||||
private Boolean showExpiration;
|
||||
|
||||
@ApiModelProperty(value = "服务到期时间")
|
||||
private Date expirationTime;
|
||||
|
||||
@ApiModelProperty(value = "最近一笔的续费金额")
|
||||
private BigDecimal renewMoney;
|
||||
|
||||
@ApiModelProperty(value = "应用状态")
|
||||
private String appStatus;
|
||||
|
||||
@ApiModelProperty(value = "是否作为案例展示")
|
||||
private Boolean showCase;
|
||||
|
||||
@ApiModelProperty(value = "是否推荐")
|
||||
private Boolean recommend;
|
||||
|
||||
@ApiModelProperty(value = "是否显示在首页")
|
||||
private Boolean showIndex;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "机构id")
|
||||
private Integer organizationId;
|
||||
|
||||
@ApiModelProperty(value = "租户编号")
|
||||
private String tenantCode;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty(value = "成员管理")
|
||||
@TableField(exist = false)
|
||||
private List<AppUser> users;
|
||||
|
||||
@ApiModelProperty(value = "链接列表")
|
||||
@TableField(exist = false)
|
||||
private List<AppUrl> appUrlList;
|
||||
|
||||
@ApiModelProperty(value = "项目附件")
|
||||
@TableField(exist = false)
|
||||
private List<FileRecord> appFiles;
|
||||
|
||||
@ApiModelProperty(value = "主体名称")
|
||||
@TableField(exist = false)
|
||||
private String tenantName;
|
||||
|
||||
@ApiModelProperty(value = "开发者名称")
|
||||
@TableField(exist = false)
|
||||
private String realName;
|
||||
|
||||
@ApiModelProperty(value = "开发者名称")
|
||||
@TableField(exist = false)
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "开发者头像")
|
||||
@TableField(exist = false)
|
||||
private String avatar;
|
||||
|
||||
@ApiModelProperty(value = "手机号码")
|
||||
@TableField(exist = false)
|
||||
private String phone;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 应用参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2024-01-12 20:08:35
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "AppField对象", description = "应用参数")
|
||||
@TableName("oa_app_field")
|
||||
public class AppField implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty(value = "应用ID")
|
||||
private Integer appId;
|
||||
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1删除")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 续费管理
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-11-14 14:27:57
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "AppRenew对象", description = "续费管理")
|
||||
@TableName("oa_app_renew")
|
||||
public class AppRenew implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "app_renew_id", type = IdType.AUTO)
|
||||
private Integer appRenewId;
|
||||
|
||||
@ApiModelProperty(value = "续费金额")
|
||||
private BigDecimal money;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "到期时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "上传附件")
|
||||
private String images;
|
||||
|
||||
@ApiModelProperty(value = "用户昵称")
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "应用ID")
|
||||
private Integer appId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1待确认")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
@TableField(exist = false)
|
||||
private String companyName;
|
||||
|
||||
@ApiModelProperty(value = "应用名称")
|
||||
@TableField(exist = false)
|
||||
private String appName;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 项目域名
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2024-04-15 13:01:34
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "AppUrl对象", description = "项目域名")
|
||||
@TableName("oa_app_url")
|
||||
public class AppUrl implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "app_url_id", type = IdType.AUTO)
|
||||
private Integer appUrlId;
|
||||
|
||||
@ApiModelProperty(value = "应用ID")
|
||||
private Integer appId;
|
||||
|
||||
@ApiModelProperty(value = "域名类型")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "域名")
|
||||
private String domain;
|
||||
|
||||
@ApiModelProperty(value = "账号")
|
||||
private String account;
|
||||
|
||||
@ApiModelProperty(value = "密码")
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1待确认")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 应用成员
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-26 22:06:23
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "AppUser对象", description = "应用成员")
|
||||
@TableName("oa_app_user")
|
||||
public class AppUser implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "app_user_id", type = IdType.AUTO)
|
||||
private Integer appUserId;
|
||||
|
||||
@ApiModelProperty(value = "角色,10体验成员 20开发者成员 30管理员 ")
|
||||
private Integer role;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "应用ID")
|
||||
private Integer appId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1待评价")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "昵称")
|
||||
@TableField(exist = false)
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "用户名")
|
||||
@TableField(exist = false)
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty(value = "手机号码")
|
||||
@TableField(exist = false)
|
||||
private String phone;
|
||||
|
||||
@ApiModelProperty(value = "邮箱")
|
||||
@TableField(exist = false)
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty(value = "头像")
|
||||
@TableField(exist = false)
|
||||
private String avatar;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 服务器资产记录表
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-26 21:08:27
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "Assets对象", description = "服务器资产记录表")
|
||||
@TableName("oa_assets")
|
||||
public class Assets implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "资产ID")
|
||||
@TableId(value = "assets_id", type = IdType.AUTO)
|
||||
private Integer assetsId;
|
||||
|
||||
@ApiModelProperty(value = "资产名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "资产标识")
|
||||
private String code;
|
||||
|
||||
@ApiModelProperty(value = "资产类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "服务器厂商")
|
||||
private String brand;
|
||||
|
||||
@ApiModelProperty(value = "服务器配置")
|
||||
private String configuration;
|
||||
|
||||
@ApiModelProperty(value = "初始账号")
|
||||
private String account;
|
||||
|
||||
@ApiModelProperty(value = "初始密码")
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "(阿里云/腾讯云)登录账号")
|
||||
private String brandAccount;
|
||||
|
||||
@ApiModelProperty(value = "(阿里云/腾讯云)登录密码")
|
||||
private String brandPassword;
|
||||
|
||||
@ApiModelProperty(value = "宝塔面板")
|
||||
private String panel;
|
||||
|
||||
@ApiModelProperty(value = "宝塔面板账号")
|
||||
private String panelAccount;
|
||||
|
||||
@ApiModelProperty(value = "宝塔面板密码")
|
||||
private String panelPassword;
|
||||
|
||||
@ApiModelProperty(value = "财务信息-合同金额")
|
||||
private BigDecimal financeAmount;
|
||||
|
||||
@ApiModelProperty(value = "购买年限")
|
||||
private Integer financeYears;
|
||||
|
||||
@ApiModelProperty(value = "续费金额")
|
||||
private BigDecimal financeRenew;
|
||||
|
||||
@ApiModelProperty(value = "客户名称")
|
||||
private String financeCustomerName;
|
||||
|
||||
@ApiModelProperty(value = "客户联系人")
|
||||
private String financeCustomerContact;
|
||||
|
||||
@ApiModelProperty(value = "客户联系电话")
|
||||
private String financeCustomerPhone;
|
||||
|
||||
@ApiModelProperty(value = "客户ID")
|
||||
private Integer customerId;
|
||||
|
||||
@ApiModelProperty(value = "客户名称")
|
||||
private String customerName;
|
||||
|
||||
@ApiModelProperty(value = "开放端口")
|
||||
private String openPort;
|
||||
|
||||
@ApiModelProperty(value = "详情内容")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty(value = "购买时间")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "到期时间")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty(value = "置顶状态")
|
||||
private String isTop;
|
||||
|
||||
@ApiModelProperty(value = "可见性(public,private,protected)")
|
||||
private String visibility;
|
||||
|
||||
@ApiModelProperty(value = "宝塔接口秘钥")
|
||||
private String btSign;
|
||||
|
||||
@ApiModelProperty(value = "文章排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "客户ID")
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "机构id")
|
||||
private Integer organizationId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1冻结")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty(value = "昵称")
|
||||
@TableField(exist = false)
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "开发者头像")
|
||||
@TableField(exist = false)
|
||||
private String avatar;
|
||||
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
@TableField(exist = false)
|
||||
private String companyName;
|
||||
|
||||
@ApiModelProperty(value = "系统基础统计")
|
||||
@TableField(exist = false)
|
||||
private Object systemTotal;
|
||||
|
||||
@ApiModelProperty(value = "磁盘分区信息")
|
||||
@TableField(exist = false)
|
||||
private Object diskInfo;
|
||||
|
||||
@ApiModelProperty(value = "实时状态信息(CPU、内存、网络、负载)")
|
||||
@TableField(exist = false)
|
||||
private Object netWork;
|
||||
|
||||
@ApiModelProperty(value = "网站列表")
|
||||
@TableField(exist = false)
|
||||
private Object sites;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 服务器成员管理
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-26 21:08:27
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "AssetsUser对象", description = "服务器成员管理")
|
||||
@TableName("oa_assets_user")
|
||||
public class AssetsUser implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty(value = "角色,10体验成员 20开发者成员 30管理员 ")
|
||||
private Integer role;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "应用ID")
|
||||
private Integer assetsId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1待评价")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "昵称")
|
||||
private String nickname;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,181 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 企业信息
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-23 19:18:58
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "Company对象", description = "企业信息")
|
||||
@TableName("oa_company")
|
||||
public class Company implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "企业id")
|
||||
@TableId(value = "company_id", type = IdType.AUTO)
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "企业简称")
|
||||
private String shortName;
|
||||
|
||||
@ApiModelProperty(value = "企业全称")
|
||||
private String companyName;
|
||||
|
||||
@ApiModelProperty(value = "企业标识")
|
||||
private String companyCode;
|
||||
|
||||
@ApiModelProperty(value = "类型 10企业 20政府单位")
|
||||
private String companyType;
|
||||
|
||||
@ApiModelProperty(value = "企业类型多选")
|
||||
private String companyTypeMultiple;
|
||||
|
||||
@ApiModelProperty(value = "应用标识")
|
||||
private String companyLogo;
|
||||
|
||||
@ApiModelProperty(value = "应用类型")
|
||||
private String appType;
|
||||
|
||||
@ApiModelProperty(value = "绑定域名")
|
||||
private String domain;
|
||||
|
||||
@ApiModelProperty(value = "联系电话")
|
||||
private String phone;
|
||||
|
||||
@ApiModelProperty(value = "邮箱")
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty(value = "座机电话")
|
||||
private String tel;
|
||||
|
||||
@ApiModelProperty(value = "发票抬头")
|
||||
@TableField("Invoice_header")
|
||||
private String invoiceHeader;
|
||||
|
||||
@ApiModelProperty(value = "企业法人")
|
||||
private String businessEntity;
|
||||
|
||||
@ApiModelProperty(value = "服务开始时间")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "服务到期时间")
|
||||
private Date expirationTime;
|
||||
|
||||
@ApiModelProperty(value = "应用版本 10体验版 20授权版 30旗舰版")
|
||||
private Integer version;
|
||||
|
||||
@ApiModelProperty(value = "成员数量(人数上限)")
|
||||
private Integer members;
|
||||
|
||||
@ApiModelProperty(value = "成员数量(当前)")
|
||||
private Integer users;
|
||||
|
||||
@ApiModelProperty(value = "行业类型(父级)")
|
||||
private String industryParent;
|
||||
|
||||
@ApiModelProperty(value = "行业类型(子级)")
|
||||
private String industryChild;
|
||||
|
||||
@ApiModelProperty(value = "部门数量")
|
||||
private Integer departments;
|
||||
|
||||
@ApiModelProperty(value = "存储空间")
|
||||
private Long storage;
|
||||
|
||||
@ApiModelProperty(value = "存储空间(上限)")
|
||||
private Long storageMax;
|
||||
|
||||
@ApiModelProperty(value = "所在国家")
|
||||
private String country;
|
||||
|
||||
@ApiModelProperty(value = "所在省份")
|
||||
private String province;
|
||||
|
||||
@ApiModelProperty(value = "所在城市")
|
||||
private String city;
|
||||
|
||||
@ApiModelProperty(value = "所在辖区")
|
||||
private String region;
|
||||
|
||||
@ApiModelProperty(value = "街道地址")
|
||||
private String address;
|
||||
|
||||
@ApiModelProperty(value = "经度")
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty(value = "纬度")
|
||||
private String latitude;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "是否实名认证")
|
||||
private Integer authentication;
|
||||
|
||||
@ApiModelProperty(value = "企业默认主体")
|
||||
private Integer authoritative;
|
||||
|
||||
@ApiModelProperty(value = "request合法域名")
|
||||
private String requestUrl;
|
||||
|
||||
@ApiModelProperty(value = "socket合法域名")
|
||||
private String socketUrl;
|
||||
|
||||
@ApiModelProperty(value = "主控端域名")
|
||||
private String serverUrl;
|
||||
|
||||
@ApiModelProperty(value = "业务域名")
|
||||
private String modulesUrl;
|
||||
|
||||
@ApiModelProperty(value = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@ApiModelProperty(value = "点赞数量")
|
||||
private Integer likes;
|
||||
|
||||
@ApiModelProperty(value = "点击数量")
|
||||
private Integer clicks;
|
||||
|
||||
@ApiModelProperty(value = "购买数量")
|
||||
private Integer buys;
|
||||
|
||||
@ApiModelProperty(value = "是否含税, 0不含, 1含")
|
||||
private Integer isTax;
|
||||
|
||||
@ApiModelProperty(value = "当前克隆的租户ID")
|
||||
private Integer planId;
|
||||
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "排序号")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 企业参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2024-02-04 14:44:42
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "CompanyField对象", description = "企业参数")
|
||||
@TableName("oa_company_field")
|
||||
public class CompanyField implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty(value = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1删除")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 成员管理
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2024-02-04 14:44:42
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "CompanyUser对象", description = "成员管理")
|
||||
@TableName("oa_company_user")
|
||||
public class CompanyUser implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "company_user_id", type = IdType.AUTO)
|
||||
private Integer companyUserId;
|
||||
|
||||
@ApiModelProperty(value = "角色,10体验成员 20开发者成员 30管理员 ")
|
||||
private Integer role;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1待确认")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "昵称")
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "用户名")
|
||||
@TableField(exist = false)
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty(value = "手机号码")
|
||||
@TableField(exist = false)
|
||||
private String phone;
|
||||
|
||||
@ApiModelProperty(value = "邮箱")
|
||||
@TableField(exist = false)
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty(value = "头像")
|
||||
@TableField(exist = false)
|
||||
private String avatar;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 常用链接
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2024-01-14 11:50:39
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "Link对象", description = "常用链接")
|
||||
@TableName("oa_link")
|
||||
public class Link implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty(value = "链接名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "图标")
|
||||
private String icon;
|
||||
|
||||
@ApiModelProperty(value = "链接地址")
|
||||
private String url;
|
||||
|
||||
@ApiModelProperty(value = "链接类型")
|
||||
private String linkType;
|
||||
|
||||
@ApiModelProperty(value = "应用ID")
|
||||
private Integer appId;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0正常, 1待确认")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 产品记录表
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-12-14 14:18:01
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "Product对象", description = "产品记录表")
|
||||
@TableName("oa_product")
|
||||
public class Product implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "产品ID")
|
||||
@TableId(value = "product_id", type = IdType.AUTO)
|
||||
private Integer productId;
|
||||
|
||||
@ApiModelProperty(value = "产品名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "产品标识")
|
||||
private String code;
|
||||
|
||||
@ApiModelProperty(value = "产品详情")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty(value = "产品类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "产品金额")
|
||||
private BigDecimal money;
|
||||
|
||||
@ApiModelProperty(value = "附件")
|
||||
private String files;
|
||||
|
||||
@ApiModelProperty(value = "产品图标")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty(value = "背景颜色")
|
||||
private String backgroundColor;
|
||||
|
||||
@ApiModelProperty(value = "背景图片")
|
||||
private String backgroundImage;
|
||||
|
||||
@ApiModelProperty(value = "背景图片gif")
|
||||
private String backgroundGif;
|
||||
|
||||
@ApiModelProperty(value = "购买链接")
|
||||
private String buyUrl;
|
||||
|
||||
@ApiModelProperty(value = "控制台链接")
|
||||
private String adminUrl;
|
||||
|
||||
@ApiModelProperty(value = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0已上架, 1已下架")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty(value = "企业信息")
|
||||
private Company company;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 产品标签记录表
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-12-14 15:55:52
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "ProductTabs对象", description = "产品标签记录表")
|
||||
@TableName("oa_product_tabs")
|
||||
public class ProductTabs implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "产品标签ID")
|
||||
@TableId(value = "tab_id", type = IdType.AUTO)
|
||||
private Integer tabId;
|
||||
|
||||
@ApiModelProperty(value = "产品ID")
|
||||
private Integer productId;
|
||||
|
||||
@ApiModelProperty(value = "标签名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "标签类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "产品标签详情")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty(value = "背景颜色")
|
||||
private String backgroundColor;
|
||||
|
||||
@ApiModelProperty(value = "背景图片")
|
||||
private String backgroundImage;
|
||||
|
||||
@ApiModelProperty(value = "附件")
|
||||
private String files;
|
||||
|
||||
@ApiModelProperty(value = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0已上架, 1已下架")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 任务记录表
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-23 18:53:01
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "Task对象", description = "任务记录表")
|
||||
@TableName("oa_task")
|
||||
public class Task implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "工单ID")
|
||||
@TableId(value = "task_id", type = IdType.AUTO)
|
||||
private Integer taskId;
|
||||
|
||||
@ApiModelProperty(value = "工单名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "工单类型")
|
||||
private String taskType;
|
||||
|
||||
@ApiModelProperty(value = "任务内容")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty(value = "工单附件")
|
||||
private String files;
|
||||
|
||||
@ApiModelProperty(value = "工单发起人")
|
||||
private Integer promoter;
|
||||
|
||||
@ApiModelProperty(value = "受理人")
|
||||
private Integer commander;
|
||||
|
||||
@ApiModelProperty(value = "工单状态, 0未开始 1已指派 ")
|
||||
private Integer progress;
|
||||
|
||||
@ApiModelProperty(value = "逾期天数")
|
||||
private Integer overdueDays;
|
||||
|
||||
@ApiModelProperty(value = "优先级")
|
||||
private String priority;
|
||||
|
||||
@ApiModelProperty(value = "品质要求")
|
||||
private String quality;
|
||||
|
||||
@ApiModelProperty(value = "时限(天)")
|
||||
private Integer day;
|
||||
|
||||
@ApiModelProperty(value = "手机号")
|
||||
private String phone;
|
||||
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "结束时间")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty(value = "项目ID")
|
||||
private Integer appId;
|
||||
|
||||
@ApiModelProperty(value = "机构id")
|
||||
private Integer organizationId;
|
||||
|
||||
@ApiModelProperty(value = "项目ID")
|
||||
private Integer projectId;
|
||||
|
||||
@ApiModelProperty(value = "客户ID")
|
||||
private Integer customerId;
|
||||
|
||||
@ApiModelProperty(value = "资产ID")
|
||||
private Integer assetsId;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "用户昵称")
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
private String avatar;
|
||||
|
||||
@ApiModelProperty(value = "是否已查阅")
|
||||
private Integer isRead;
|
||||
|
||||
@ApiModelProperty(value = "最后回复人")
|
||||
private Integer lastReadUser;
|
||||
|
||||
@ApiModelProperty(value = "最后回复人的头像")
|
||||
private String lastAvatar;
|
||||
|
||||
@ApiModelProperty(value = "最后回复人昵称")
|
||||
private String lastNickname;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0待处理, 1已完成")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "结算状态")
|
||||
private Integer isSettled;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty(value = "项目信息")
|
||||
@TableField(exist = false)
|
||||
private String appName;
|
||||
|
||||
@ApiModelProperty(value = "角色ID")
|
||||
@TableField(exist = false)
|
||||
private Integer roleId;
|
||||
|
||||
@ApiModelProperty(value = "角色标识")
|
||||
@TableField(exist = false)
|
||||
private String roleCode;
|
||||
|
||||
@ApiModelProperty(value = "操作类型")
|
||||
@TableField(exist = false)
|
||||
private String action;
|
||||
|
||||
@ApiModelProperty(value = "当前登录用户ID")
|
||||
@TableField(exist = false)
|
||||
private Integer loginUserId;
|
||||
|
||||
@ApiModelProperty(value = "机密信息")
|
||||
@TableField(exist = false)
|
||||
private String confidential;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 数据统计
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-30 14:25:30
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TaskCount对象", description = "数据统计")
|
||||
@TableName("oa_task_count")
|
||||
public class TaskCount implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "task_count_id", type = IdType.AUTO)
|
||||
private Integer taskCountId;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "待处理数")
|
||||
private Integer pending;
|
||||
|
||||
@ApiModelProperty(value = "闲置可抢的工单")
|
||||
private Integer unused;
|
||||
|
||||
@ApiModelProperty(value = "已完成数")
|
||||
private Integer completed;
|
||||
|
||||
@ApiModelProperty(value = "今天处理数")
|
||||
private Integer today;
|
||||
|
||||
@ApiModelProperty(value = "本月处理数")
|
||||
private Integer month;
|
||||
|
||||
@ApiModelProperty(value = "今年处理数")
|
||||
private Integer year;
|
||||
|
||||
@ApiModelProperty(value = "总工单数")
|
||||
private Integer total;
|
||||
|
||||
@ApiModelProperty(value = "部门ID")
|
||||
private Integer organizationId;
|
||||
|
||||
@ApiModelProperty(value = "角色ID")
|
||||
private Integer roleId;
|
||||
|
||||
@ApiModelProperty(value = "角色标识")
|
||||
private String roleCode;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty(value = "昵称")
|
||||
@TableField(exist = false)
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "头像")
|
||||
@TableField(exist = false)
|
||||
private String avatar;
|
||||
|
||||
@ApiModelProperty(value = "手机号码")
|
||||
@TableField(exist = false)
|
||||
private String phone;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.gxwebsoft.common.core.utils.CommonUtil;
|
||||
import com.gxwebsoft.common.system.entity.User;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 工单回复记录表
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-23 18:53:01
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TaskRecord对象", description = "工单回复记录表")
|
||||
@TableName("oa_task_record")
|
||||
public class TaskRecord implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "回复ID")
|
||||
@TableId(value = "task_record_id", type = IdType.AUTO)
|
||||
private Integer taskRecordId;
|
||||
|
||||
@ApiModelProperty(value = "上级id, 0是顶级")
|
||||
private Integer parentId;
|
||||
|
||||
@ApiModelProperty(value = "工单ID")
|
||||
private Integer taskId;
|
||||
|
||||
@ApiModelProperty(value = "任务内容")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty(value = "机密信息")
|
||||
private String confidential;
|
||||
|
||||
@ApiModelProperty(value = "工单附件")
|
||||
private String files;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0待处理, 1已完成")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty(value = "发布者")
|
||||
@TableField(exist = false)
|
||||
private String nickname;
|
||||
|
||||
@ApiModelProperty(value = "发布者头像")
|
||||
@TableField(exist = false)
|
||||
private String avatar;
|
||||
|
||||
@ApiModelProperty(value = "所在城市")
|
||||
@TableField(exist = false)
|
||||
private String city;
|
||||
|
||||
@ApiModelProperty(value = "回复者")
|
||||
@TableField(exist = false)
|
||||
private User user;
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.gxwebsoft.oa.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 工单成员
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-10-23 18:53:01
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TaskUser对象", description = "工单成员")
|
||||
@TableName("oa_task_user")
|
||||
public class TaskUser implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "task_user_id", type = IdType.AUTO)
|
||||
private Integer taskUserId;
|
||||
|
||||
@ApiModelProperty(value = "角色,10体验成员 20开发者成员 30管理员 ")
|
||||
private Integer role;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "工单ID")
|
||||
private Integer taskId;
|
||||
|
||||
@ApiModelProperty(value = "状态, 0待处理, 1已完成")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "加入时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user