From c2bc64fd36d20dfaced369be5f5499054c01954d Mon Sep 17 00:00:00 2001 From: Kane Date: Sat, 18 Feb 2023 00:17:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=BF=9B=E5=BA=A6=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../后端辅助工具/src/DataType/Class.ts | 35 +++++++++++++++++++ code/ts/后端辅助工具/tsconfig.json | 3 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 code/ts/后端辅助工具/src/DataType/Class.ts 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,