Merge branch 'feature-requirement' of http://222.76.244.118:3000/CPICXIM/it-console into feature-requirement
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-17 22:35:49
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-18 00:14:08
 | 
			
		||||
 * @LastEditTime: 2023-02-19 21:38:18
 | 
			
		||||
 * @FilePath: /后端辅助工具/src/DataType/Class.ts
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
@@ -10,19 +10,11 @@
 | 
			
		||||
 */
 | 
			
		||||
class CpicximStuff
 | 
			
		||||
{
 | 
			
		||||
    // constructor(name: string, code: string, p13UID: string)
 | 
			
		||||
    // {
 | 
			
		||||
    //     this._stuffName = name;
 | 
			
		||||
    //     this._stuffCode = code;
 | 
			
		||||
    //     this._p13UID = p13UID;
 | 
			
		||||
    // };
 | 
			
		||||
 | 
			
		||||
    public constructor(
 | 
			
		||||
    constructor(
 | 
			
		||||
        private _stuffName: string,
 | 
			
		||||
        private _stuffCode: string,
 | 
			
		||||
        private p13UID: string
 | 
			
		||||
    )
 | 
			
		||||
    { }
 | 
			
		||||
        private _p13UID: string
 | 
			
		||||
    ) { }
 | 
			
		||||
 | 
			
		||||
    get stuffName(): string 
 | 
			
		||||
    {
 | 
			
		||||
@@ -33,6 +25,16 @@ class CpicximStuff
 | 
			
		||||
    {
 | 
			
		||||
        this._stuffName = stuffName;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    get stuffCode(): string
 | 
			
		||||
    {
 | 
			
		||||
        return this._stuffCode;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    set stuffCode(code: string)
 | 
			
		||||
    {
 | 
			
		||||
        this._stuffCode = code;
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export { CpicximStuff };
 | 
			
		||||
		Reference in New Issue
	
	Block a user