001package com.thed.zblast.parser.model; 002 003public class ReleaseTestScheduleCreateRequest { 004 005 private boolean flag = true; //-- will be on by default 006 private Long tctId; 007 private String status; 008 private Long testerId ; 009 private Long cyclePhaseId; 010 011 public ReleaseTestScheduleCreateRequest(Long tctId, Long testerId, Long cyclePhaseId) { 012 this.tctId = tctId; 013 this.testerId = testerId; 014 this.cyclePhaseId = cyclePhaseId; 015 } 016 017 public Integer getFlagInt() { 018 return (flag)? 1 : 0; 019 } 020 021 public boolean isFlag() { 022 return flag; 023 } 024 public void setFlag(boolean flag) { 025 this.flag = flag; 026 } 027 public Long getTctId() { 028 return tctId; 029 } 030 public void setTctId(Long tctId) { 031 this.tctId = tctId; 032 } 033 public String getStatus() { 034 return status; 035 } 036 public void setStatus(String status) { 037 this.status = status; 038 } 039 public Long getTesterId() { 040 return testerId; 041 } 042 public void setTesterId(Long testerId) { 043 this.testerId = testerId; 044 } 045 public Long getCyclePhaseId() { 046 return cyclePhaseId; 047 } 048 public void setCyclePhaseId(Long cyclePhaseId) { 049 this.cyclePhaseId = cyclePhaseId; 050 } 051 052 @Override 053 public String toString() { 054 return """ 055 ReleaseTestScheduleCreateRequest [flag=%s, tctId=%s, status=%s, testerId=%s, cyclePhaseId=%s]""".formatted(flag, tctId, status, testerId, cyclePhaseId); 056 } 057}