export class RemainsPaginateData { public remains_id : number ; public user_id : number ; public user_name : string ; public conquer_user_id : number ; public conquer_user_name : string ; public quality : number ; public capture_timestamp : number ; public flag : string ; constructor ( data , remains_quality = null , flag = "占" ) { if ( data && data != "free" ) { this . remains_id = data . id ; this . user_id = data . user_id ; this . user_name = data . user_name ; this . conquer_user_id = data . conquer_user_id ; this . conquer_user_name = data . conquer_user_name ; this . quality = data . quality ; this . capture_timestamp = data . capture_timestamp ; } else if ( remains_quality ) { this . remains_id = 0 ; this . user_id = 0 ; this . user_name = "" ; this . conquer_user_id = 0 ; this . conquer_user_name = "" ; this . quality = remains_quality ; this . capture_timestamp = 0 ; } else { this . remains_id = 0 ; this . user_id = 0 ; this . user_name = "" ; this . conquer_user_id = 0 ; this . conquer_user_name = "" ; this . quality = 0 ; this . capture_timestamp = 0 ; } this . flag = flag ; } }