针对第三方测试功能调整
This commit is contained in:
@@ -4,11 +4,15 @@ 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.njcn.common.pojo.constant.PatternRegex;
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import com.njcn.web.constant.ValidMessage;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.validation.constraints.Pattern;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
@@ -32,7 +36,7 @@ public class UserReportProjectPO extends BaseEntity {
|
||||
* 用户协议容量
|
||||
*/
|
||||
@TableField(value = "agreement_capacity")
|
||||
|
||||
@Pattern(regexp = PatternRegex.COORDINATE, message = ValidMessage.PARAM_FORMAT_ERROR)
|
||||
private Double agreementCapacity;
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,11 +4,15 @@ 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.njcn.common.pojo.constant.PatternRegex;
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import com.njcn.web.constant.ValidMessage;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.validation.constraints.Pattern;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
@@ -32,6 +36,7 @@ public class UserReportSensitivePO extends BaseEntity {
|
||||
* PCC点
|
||||
*/
|
||||
@TableField(value = "pcc_point")
|
||||
@Pattern(regexp = PatternRegex.DES32_REGEX, message = ValidMessage.DATA_TOO_LONG)
|
||||
private String pccPoint;
|
||||
|
||||
/**
|
||||
@@ -44,6 +49,7 @@ public class UserReportSensitivePO extends BaseEntity {
|
||||
* 敏感装置名称
|
||||
*/
|
||||
@TableField(value = "device_name")
|
||||
@Pattern(regexp = PatternRegex.DES32_REGEX, message = ValidMessage.DATA_TOO_LONG)
|
||||
private String deviceName;
|
||||
|
||||
/**
|
||||
@@ -74,6 +80,7 @@ public class UserReportSensitivePO extends BaseEntity {
|
||||
* 预测评估审核单位
|
||||
*/
|
||||
@TableField(value = "evaluation_chek_dept")
|
||||
@Pattern(regexp = PatternRegex.DES32_REGEX, message = ValidMessage.DATA_TOO_LONG)
|
||||
private String evaluationChekDept;
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,11 +4,14 @@ 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.njcn.common.pojo.constant.PatternRegex;
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import com.njcn.web.constant.ValidMessage;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.validation.constraints.Pattern;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
@@ -31,30 +34,35 @@ public class UserReportSubstationPO extends BaseEntity {
|
||||
* PCC点
|
||||
*/
|
||||
@TableField(value = "pcc_point")
|
||||
@Pattern(regexp = PatternRegex.DES32_REGEX, message = ValidMessage.DATA_TOO_LONG)
|
||||
private String pccPoint;
|
||||
|
||||
/**
|
||||
* 基准短路容量(MVA)
|
||||
*/
|
||||
@TableField(value = "base_short_circuit_capacity")
|
||||
@Pattern(regexp = PatternRegex.COORDINATE, message = ValidMessage.PARAM_FORMAT_ERROR)
|
||||
private BigDecimal baseShortCircuitCapacity;
|
||||
|
||||
/**
|
||||
* 系统最小短路容量(MVA)
|
||||
*/
|
||||
@TableField(value = "min_short_circuit_capacity")
|
||||
@Pattern(regexp = PatternRegex.COORDINATE, message = ValidMessage.PARAM_FORMAT_ERROR)
|
||||
private BigDecimal minShortCircuitCapacity;
|
||||
|
||||
/**
|
||||
* PCC供电设备容量(MVA)
|
||||
*/
|
||||
@TableField(value = "pcc_equipment_capacity")
|
||||
@Pattern(regexp = PatternRegex.COORDINATE, message = ValidMessage.PARAM_FORMAT_ERROR)
|
||||
private BigDecimal pccEquipmentCapacity;
|
||||
|
||||
/**
|
||||
* 用户用电协议容量(MVA)
|
||||
*/
|
||||
@TableField(value = "user_agreement_capacity")
|
||||
@Pattern(regexp = PatternRegex.COORDINATE, message = ValidMessage.PARAM_FORMAT_ERROR)
|
||||
private BigDecimal userAgreementCapacity;
|
||||
|
||||
/**
|
||||
@@ -73,6 +81,7 @@ public class UserReportSubstationPO extends BaseEntity {
|
||||
* 预测评估审核单位
|
||||
*/
|
||||
@TableField(value = "evaluation_chek_dept")
|
||||
@Pattern(regexp = PatternRegex.DES32_REGEX, message = ValidMessage.DATA_TOO_LONG)
|
||||
private String evaluationChekDept;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user