PageRenderTime 53ms CodeModel.GetById 15ms app.highlight 34ms RepoModel.GetById 1ms app.codeStats 1ms

/webccr/src/com/emis/caesar/senao/unit/TSenaoSecNew.java

https://bitbucket.org/sanliou/synccr
Java | 311 lines | 237 code | 65 blank | 9 comment | 0 complexity | 16a02a81cbeb97f293314a6d20a46b83 MD5 | raw file
  1package com.emis.caesar.senao.unit;
  2
  3import com.emis.util.emisUtil;
  4
  5import java.util.HashMap;
  6
  7/**
  8 *  新的二手機回收物件
  9 */
 10public class TSenaoSecNew {
 11  TSenaoSec oSenaoSec = null; // 舊的二手機物件
 12  String REPNO = null; // BARCODE1
 13  String IMEI = null; // BARCODE2
 14  String NAME = null;
 15  String PHONE = null;
 16  String ID_NUMBER = null;
 17  String BRAND = null;
 18  String MODEL = null;
 19  String ITEMNO = null;
 20  String EMPNO = null;
 21  String AGENTNO = null;
 22  int SEC_PRICE = 0;
 23  int SEC_DISCOUNT_PRICE = 0;
 24  int SL_AMT = 0;
 25  String ORI_SEC_JUDGE = null;
 26  String ORI_SEC_CONDITION = null;
 27  String REC_TYPE = null;  //一般回收件:N,奇機PLUS提前升級件:Y
 28  //add by Ares 20190712 舊機回收組合促案優化
 29  String APLUS_FLAG = null;  //是否為特A級回收
 30  int INSU_COUNT = 0; //回傳查得保險件數量
 31  //INSU 子節點
 32  String REGIST_NO = null; //保單號碼
 33  String REGIST_DATE = null;  //保單註冊日期
 34  String INVALID_DATE = null; //保單失效日期
 35  String ACTIVE_FLAG = null;  //保單生失效狀態
 36  String REGIST_TYPE = null;  //保險專案別
 37
 38  String RECY_TYPE = null;  //回收通路中華/神腦/不限 CHT/SENAO
 39
 40  public TSenaoSec getoSenaoSec() {
 41    return oSenaoSec;
 42  }
 43
 44  public void setoSenaoSec(TSenaoSec oSenaoSec) {
 45    this.oSenaoSec = oSenaoSec;
 46  }
 47
 48  public String getREPNO() {
 49    return REPNO;
 50  }
 51
 52  public void setREPNO(String REPNO) {
 53    this.REPNO = REPNO;
 54  }
 55
 56  public String getIMEI() {
 57    return IMEI;
 58  }
 59
 60  public void setIMEI(String IMEI) {
 61    this.IMEI = IMEI;
 62  }
 63
 64  public String getNAME() {
 65    return NAME;
 66  }
 67
 68  public void setNAME(String NAME) {
 69    this.NAME = NAME;
 70  }
 71
 72  public String getPHONE() {
 73    return PHONE;
 74  }
 75
 76  public void setPHONE(String PHONE) {
 77    this.PHONE = PHONE;
 78  }
 79
 80  public String getID_NUMBER() {
 81    return ID_NUMBER;
 82  }
 83
 84  public void setID_NUMBER(String ID_NUMBER) {
 85    this.ID_NUMBER = ID_NUMBER;
 86  }
 87
 88  public String getBRAND() {
 89    return BRAND;
 90  }
 91
 92  public void setBRAND(String BRAND) {
 93    this.BRAND = BRAND;
 94  }
 95
 96  public String getMODEL() {
 97    return MODEL;
 98  }
 99
100  public void setMODEL(String MODEL) {
101    this.MODEL = MODEL;
102  }
103
104  public String getITEMNO() {
105    return ITEMNO;
106  }
107
108  public void setITEMNO(String ITEMNO) {
109    this.ITEMNO = ITEMNO;
110  }
111
112  public String getEMPNO() {
113    return EMPNO;
114  }
115
116  public void setEMPNO(String EMPNO) {
117    this.EMPNO = EMPNO;
118  }
119
120  public String getAGENTNO() {
121    return AGENTNO;
122  }
123
124  public void setAGENTNO(String AGENTNO) {
125    this.AGENTNO = AGENTNO;
126  }
127
128  public int getSEC_PRICE() {
129    return SEC_PRICE;
130  }
131
132  public void setSEC_PRICE(int SEC_PRICE) {
133    this.SEC_PRICE = SEC_PRICE;
134  }
135
136  public int getSEC_DISCOUNT_PRICE() {
137    return SEC_DISCOUNT_PRICE;
138  }
139
140  public void setSEC_DISCOUNT_PRICE(int SEC_DISCOUNT_PRICE) {
141    this.SEC_DISCOUNT_PRICE = SEC_DISCOUNT_PRICE;
142  }
143
144  public String getORI_SEC_JUDGE() {
145    return ORI_SEC_JUDGE;
146  }
147
148  public void setORI_SEC_JUDGE(String ORI_SEC_JUDGE) {
149    this.ORI_SEC_JUDGE = ORI_SEC_JUDGE;
150  }
151
152  public String getORI_SEC_CONDITION() {
153    return ORI_SEC_CONDITION;
154  }
155
156  public void setORI_SEC_CONDITION(String ORI_SEC_CONDITION) {
157    this.ORI_SEC_CONDITION = ORI_SEC_CONDITION;
158  }
159
160
161
162  // 以下為存檔需要欄位
163  public String getSD_FIELD3() {
164    StringBuffer sbf = new StringBuffer();
165    sbf.append(emisUtil.parseString(NAME, " "));
166    sbf.append(",");
167    sbf.append(emisUtil.parseString(ID_NUMBER, " "));
168    return sbf.toString();
169  }
170
171  public String getSL_NONPLU() {
172    StringBuffer sbf = new StringBuffer();
173    sbf.append(emisUtil.parseString(BRAND, " "));
174    sbf.append(",");
175    sbf.append(emisUtil.parseString(MODEL, " "));
176    sbf.append(",");
177    sbf.append(emisUtil.parseString(ITEMNO, " "));
178    sbf.append(",");
179    sbf.append(emisUtil.parseString(EMPNO, " "));
180    sbf.append(",");
181    sbf.append(emisUtil.parseString(AGENTNO, " "));
182    sbf.append(",");
183    sbf.append(SEC_PRICE);
184    sbf.append(",");
185    sbf.append(SEC_DISCOUNT_PRICE);
186    //add by Ares 20190712 舊機回收組合促案優化
187    sbf.append(",");
188    sbf.append(emisUtil.parseString(REC_TYPE, " "));
189    sbf.append(",");
190    sbf.append(emisUtil.parseString(APLUS_FLAG, " "));
191    sbf.append(",");
192    sbf.append(emisUtil.parseString(INSU_COUNT, " "));
193    sbf.append(",");
194    sbf.append(emisUtil.parseString(REGIST_NO, " "));
195    sbf.append(",");
196    sbf.append(emisUtil.parseString(REGIST_DATE, " "));
197    sbf.append(",");
198    sbf.append(emisUtil.parseString(INVALID_DATE, " "));
199    sbf.append(",");
200    sbf.append(emisUtil.parseString(ACTIVE_FLAG, " "));
201    sbf.append(",");
202    sbf.append(emisUtil.parseString(REGIST_TYPE, " "));
203    sbf.append(",");
204    sbf.append(emisUtil.parseString(RECY_TYPE, " "));
205
206    return sbf.toString();
207  }
208
209  public String getMI_NO() {
210    return PHONE;
211  }
212
213  public String getBARCODE1() {
214    return REPNO;
215  }
216
217  public String getBARCODE2() {
218    return IMEI;
219  }
220
221  public String getSD_FIELD6() {
222    return ORI_SEC_JUDGE;
223  }
224
225  public String getSD_FIELD7() {
226    return ORI_SEC_CONDITION;
227  }
228
229  public String getREC_TYPE() {
230    return REC_TYPE;
231  }
232
233  public void setREC_TYPE(String REC_TYPE) {
234    this.REC_TYPE = REC_TYPE;
235  }
236
237  public int getSL_AMT() {
238    return SL_AMT;
239  }
240
241  public void setSL_AMT(int SL_AMT) {
242    this.SL_AMT = SL_AMT;
243  }
244
245  //add by Ares 20190712 舊機回收組合促案優化
246  public String getAPLUS_FLAG() {
247        return APLUS_FLAG;
248    }
249
250  public void setAPLUS_FLAG(String APLUS_FLAG) {
251        this.APLUS_FLAG = APLUS_FLAG;
252    }
253
254  public int getINSU_COUNT() {
255        return INSU_COUNT;
256    }
257
258  public void setINSU_COUNT(int INSU_COUNT) {
259        this.INSU_COUNT = INSU_COUNT;
260    }
261
262    //INSU子節點
263    public String getREGIST_NO() {
264        return REGIST_NO;
265    }
266
267    public void setREGIST_NO(String REGIST_NO) {
268        this.REGIST_NO = REGIST_NO;
269    }
270
271    public String getREGIST_DATE() {
272        return REGIST_DATE;
273    }
274
275    public void setREGIST_DATE(String REGIST_DATE) {
276        this.REGIST_DATE = REGIST_DATE;
277    }
278
279    public String getINVALID_DATE() {
280        return INVALID_DATE;
281    }
282
283    public void setINVALID_DATE(String INVALID_DATE) {
284        this.INVALID_DATE = INVALID_DATE;
285    }
286
287    public String getACTIVE_FLAG() {
288        return ACTIVE_FLAG;
289    }
290
291    public void setACTIVE_FLAG(String ACTIVE_FLAG) {
292        this.ACTIVE_FLAG = ACTIVE_FLAG;
293    }
294
295    public String getREGIST_TYPE() {
296        return REGIST_TYPE;
297    }
298
299    public void setREGIST_TYPE(String REGIST_TYPE) {
300        this.REGIST_TYPE = REGIST_TYPE;
301    }
302
303    public String getRECY_TYPE() {
304        return RECY_TYPE;
305    }
306
307    public void setRECY_TYPE(String RECY_TYPE) {
308        this.RECY_TYPE = RECY_TYPE;
309    }
310
311}