feat: match different length of mac

This commit is contained in:
2024-08-02 16:30:46 +08:00
parent ff240ae44c
commit c9f559a8ea
9 changed files with 1353 additions and 1658 deletions

View File

@@ -0,0 +1,17 @@
export namespace service {
export class MacAddress {
static createFrom(source: any = {}) {
return new MacAddress(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
}
}
}