| | |
| | | package com.zy.asrs.wms.system.license.entity.license; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 自定义需要校验的License参数 |
| | | */ |
| | | @Data |
| | | public class LicenseCheck implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 8600137500316662317L; |
| | | /** |
| | | * 可被允许的IP地址 |
| | | */ |
| | | private List<String> ipAddress; |
| | | |
| | | /** |
| | | * 可被允许的MAC地址 |
| | | */ |
| | | private List<String> macAddress; |
| | | |
| | | /** |
| | | * 可被允许的CPU序列号 |
| | | */ |
| | | private String cpuSerial; |
| | | |
| | | /** |
| | | * 可被允许的主板序列号 |
| | | */ |
| | | private String mainBoardSerial; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "LicenseCheckModel{" + |
| | | "ipAddress=" + ipAddress + |
| | | ", macAddress=" + macAddress + |
| | | ", cpuSerial='" + cpuSerial + '\'' + |
| | | ", mainBoardSerial='" + mainBoardSerial + '\'' + |
| | | '}'; |
| | | } |
| | | |
| | | } |
| | | package com.zy.asrs.wms.system.license.entity.license;
|
| | |
|
| | | import lombok.Data;
|
| | |
|
| | | import java.io.Serializable;
|
| | | import java.util.List;
|
| | |
|
| | | /**
|
| | | * 自定义需要校验的License参数
|
| | | */
|
| | | @Data
|
| | | public class LicenseCheck implements Serializable {
|
| | |
|
| | | private static final long serialVersionUID = 8600137500316662317L;
|
| | | /**
|
| | | * 可被允许的IP地址
|
| | | */
|
| | | private List<String> ipAddress;
|
| | |
|
| | | /**
|
| | | * 可被允许的MAC地址
|
| | | */
|
| | | private List<String> macAddress;
|
| | |
|
| | | /**
|
| | | * 可被允许的CPU序列号
|
| | | */
|
| | | private String cpuSerial;
|
| | |
|
| | | /**
|
| | | * 可被允许的主板序列号
|
| | | */
|
| | | private String mainBoardSerial;
|
| | |
|
| | | @Override
|
| | | public String toString() {
|
| | | return "LicenseCheckModel{" +
|
| | | "ipAddress=" + ipAddress +
|
| | | ", macAddress=" + macAddress +
|
| | | ", cpuSerial='" + cpuSerial + '\'' +
|
| | | ", mainBoardSerial='" + mainBoardSerial + '\'' +
|
| | | '}';
|
| | | }
|
| | |
|
| | | }
|