diff --git a/code/ts/后端辅助工具/src/DataType/Class.ts b/code/ts/后端辅助工具/src/DataType/Class.ts new file mode 100644 index 0000000..0ee9487 --- /dev/null +++ b/code/ts/后端辅助工具/src/DataType/Class.ts @@ -0,0 +1,35 @@ +/* + * @Author: Kane + * @Date: 2023-02-17 22:35:49 + * @LastEditors: Kane + * @LastEditTime: 2023-02-18 00:14:08 + * @FilePath: /后端辅助工具/src/DataType/Class.ts + * @Description: + * + * Copyright (c) ${2022} by Kane, All Rights Reserved. + */ +class CpicximStuff +{ + constructor(name: string, code: string, p13UID: string) + { + this._stuffName = name; + this._stuffCode = code; + this._p13UID = p13UID; + }; + + get stuffName(): string + { + return this._stuffName; + } + + set stuffName(stuffName: string) + { + this._stuffName = stuffName; + } + + private _stuffName: string; + private _stuffCode: string; + private _p13UID: string; +}; + +export {CpicximStuff}; \ No newline at end of file diff --git a/code/ts/后端辅助工具/tsconfig.json b/code/ts/后端辅助工具/tsconfig.json index 73ab8cc..344bcc2 100644 --- a/code/ts/后端辅助工具/tsconfig.json +++ b/code/ts/后端辅助工具/tsconfig.json @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2023-02-09 15:24:20 * @LastEditors: Kane - * @LastEditTime: 2023-02-13 23:28:22 + * @LastEditTime: 2023-02-17 23:15:11 * @FilePath: /后端辅助工具/tsconfig.json * @Description: * @@ -13,6 +13,7 @@ "outDir": "./target", "strict": false, "strictNullChecks": true, + "strictPropertyInitialization":true, "sourceMap": true, "allowJs": true, "checkJs": false,