class Status { construtor ( private value:number ,private label:string ) toString (){ return this.label } valueOf (){ return this.value } } const success = new Status ( 1 ,“成功”)