新增项目管理
This commit is contained in:
85
src/main/java/com/gxwebsoft/tower/entity/TowerPlace.java
Normal file
85
src/main/java/com/gxwebsoft/tower/entity/TowerPlace.java
Normal file
@@ -0,0 +1,85 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 检查/保养部位记录表
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-06-08 11:00:17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TowerPlace对象", description = "检查/保养部位记录表")
|
||||
public class TowerPlace implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "参数ID")
|
||||
@TableId(value = "place_id", type = IdType.AUTO)
|
||||
private Integer placeId;
|
||||
|
||||
@ApiModelProperty(value = "部位编码")
|
||||
private String placeCode;
|
||||
|
||||
@ApiModelProperty(value = "设备类型")
|
||||
private String equipmentType;
|
||||
|
||||
@ApiModelProperty(value = "部位名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "检查/保养标准")
|
||||
@TableField(exist = false)
|
||||
private List<TowerPlaceStandard> standard;
|
||||
|
||||
@ApiModelProperty(value = "部位类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "推送目标系统")
|
||||
private String pushSystem;
|
||||
|
||||
@ApiModelProperty(value = "其它项目对应值")
|
||||
private String otherParam;
|
||||
|
||||
@ApiModelProperty(value = "附件")
|
||||
private String files;
|
||||
|
||||
@ApiModelProperty(value = "是否默认显示")
|
||||
private Integer isShow;
|
||||
|
||||
@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,82 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
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-06-08 11:00:17
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TowerPlaceSafety对象", description = "安全巡检部位管理表")
|
||||
public class TowerPlaceSafety implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "参数ID")
|
||||
@TableId(value = "place_safety_id", type = IdType.AUTO)
|
||||
private Integer placeSafetyId;
|
||||
|
||||
@ApiModelProperty(value = "部位编码")
|
||||
private String placeCode;
|
||||
|
||||
@ApiModelProperty(value = "设备类型")
|
||||
private String equipmentType;
|
||||
|
||||
@ApiModelProperty(value = "安全巡检部位名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "检查标准")
|
||||
private String checkStandard;
|
||||
|
||||
@ApiModelProperty(value = "部位类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "推送目标系统")
|
||||
private String pushSystem;
|
||||
|
||||
@ApiModelProperty(value = "其它项目对应值")
|
||||
private String otherParam;
|
||||
|
||||
@ApiModelProperty(value = "附件")
|
||||
private String files;
|
||||
|
||||
@ApiModelProperty(value = "是否默认显示")
|
||||
private Integer isShow;
|
||||
|
||||
@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,47 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
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-06-08 15:37:00
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TowerPlaceStandard对象", description = "检查标准附件表")
|
||||
public class TowerPlaceStandard 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 placeId;
|
||||
|
||||
@ApiModelProperty(value = "检查标准")
|
||||
private String standard;
|
||||
|
||||
@ApiModelProperty(value = "附件")
|
||||
private String files;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "注册时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
@@ -1,17 +1,18 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import java.time.LocalDateTime;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* 项目管理
|
||||
*
|
||||
@@ -31,8 +32,8 @@ public class TowerProject implements Serializable {
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private String projectName;
|
||||
|
||||
@ApiModelProperty(value = "项目封面图")
|
||||
private String projectLogo;
|
||||
@ApiModelProperty(value = "项目图片")
|
||||
private String projectImage;
|
||||
|
||||
@ApiModelProperty(value = "租赁单位")
|
||||
private String companyName;
|
||||
@@ -110,4 +111,12 @@ public class TowerProject implements Serializable {
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty(value = "合同预定设备清单")
|
||||
@TableField(exist = false)
|
||||
private Set<TowerProjectOrder> orders;
|
||||
|
||||
@ApiModelProperty(value = "检查/保养部位配置")
|
||||
@TableField(exist = false)
|
||||
private Set<TowerProjectPlace> places;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
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.util.Date;
|
||||
|
||||
/**
|
||||
* 合同签订设备清单
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2023-06-07 18:48:56
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TowerProjectOrder对象", description = "合同签订设备清单")
|
||||
public class TowerProjectOrder implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
@TableId(value = "project_order_id", type = IdType.AUTO)
|
||||
private Integer projectOrderId;
|
||||
|
||||
@ApiModelProperty(value = "key")
|
||||
@TableField(exist = false)
|
||||
private String key;
|
||||
|
||||
@ApiModelProperty(value = "项目ID")
|
||||
private Integer projectId;
|
||||
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@ApiModelProperty(value = "规格型号")
|
||||
private String equipmentModel;
|
||||
|
||||
@ApiModelProperty(value = "签订数量")
|
||||
private Integer equipmentNum;
|
||||
|
||||
@ApiModelProperty(value = "单位")
|
||||
private String unit;
|
||||
|
||||
@ApiModelProperty(value = "预计进场时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "预计退场时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty(value = "出厂年限")
|
||||
private String year;
|
||||
|
||||
@ApiModelProperty(value = "对应资料员")
|
||||
private String documenter;
|
||||
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
||||
@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;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
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-06-08 17:22:55
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TowerProjectPlace对象", description = "检查/保养部位配置表")
|
||||
public class TowerProjectPlace 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 projectId;
|
||||
|
||||
@ApiModelProperty(value = "部位ID")
|
||||
private Integer placeId;
|
||||
|
||||
@ApiModelProperty(value = "排序号")
|
||||
private Integer sortNumber;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty(value = "部位编码")
|
||||
@TableField(exist = false)
|
||||
private String placeCode;
|
||||
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
@TableField(exist = false)
|
||||
private String equipmentType;
|
||||
|
||||
@ApiModelProperty(value = "检查部位")
|
||||
@TableField(exist = false)
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "部位类型")
|
||||
@TableField(exist = false)
|
||||
private String type;
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
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-06-07 15:00:32
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value = "TowerProjectUser对象", description = "项目成员")
|
||||
public class TowerProjectUser 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 projectId;
|
||||
|
||||
@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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user