代码调整

This commit is contained in:
2023-11-20 13:34:19 +08:00
parent 7c46df354f
commit 76909cee43
11 changed files with 401 additions and 25 deletions

View File

@@ -0,0 +1,46 @@
package com.njcn.device.pms.pojo.po;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 每日变电站-母线数据总条目表
* </p>
*
* @author cdf
* @since 2023-11-15
*/
@Getter
@Setter
@TableName("pms_count_ledger")
public class PmsCountLedger extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* 日期
*/
private LocalDateTime date;
/**
* 运行单位
*/
private String section;
/**
* 变电站总数
*/
private Integer subCount;
/**
* 母线总数
*/
private Integer subvCount;
}

View File

@@ -0,0 +1,78 @@
package com.njcn.device.pms.pojo.po;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
* 变电站-母线数据中间表
* </p>
*
* @author cdf
* @since 2023-11-15
*/
@Getter
@Setter
@TableName("pms_mid_ledger")
public class PmsMidLedger extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* Id
*/
private String id;
/**
* 父节点0为根节点
*/
private String pid;
/**
* 上层所有节点
*/
private String pids;
/**
* 运行单位
*/
private String section;
/**
* 名称
*/
private String name;
/**
* 等级0-变电站1-母线;
*/
private Boolean level;
/**
* 排序默认为0有特殊排序需要时候人为输入
*/
private Integer sort;
/**
* 备注
*/
private String remark;
/**
* 状态 0-删除1-正常;默认正常
*/
private Integer state;
/**
* 运行状态
*/
private String runStatus;
}