質問編集履歴

2

少し編集

2019/07/25 14:44

投稿

m.aqua
m.aqua

スコア6

test CHANGED
File without changes
test CHANGED
@@ -74,7 +74,7 @@
74
74
 
75
75
 
76
76
 
77
- ```Subscribe.java
77
+ ```java
78
78
 
79
79
  package model;
80
80
 

1

Subscribe.javaを追加しました

2019/07/25 14:44

投稿

m.aqua
m.aqua

スコア6

test CHANGED
File without changes
test CHANGED
@@ -74,7 +74,323 @@
74
74
 
75
75
 
76
76
 
77
-
77
+ ```Subscribe.java
78
+
79
+ package model;
80
+
81
+
82
+
83
+ import java.io.Serializable;
84
+
85
+
86
+
87
+ public class Subscribe implements Serializable {
88
+
89
+ /* 申込者データ*/
90
+
91
+ private String id;
92
+
93
+ private int code;
94
+
95
+ private String number;
96
+
97
+ private String name;
98
+
99
+ private String address;
100
+
101
+ private String birth;
102
+
103
+ private String gender;
104
+
105
+ private String kana;
106
+
107
+ private int year;
108
+
109
+ private int count;
110
+
111
+ private String testClass;
112
+
113
+ private String testName;
114
+
115
+
116
+
117
+ public Subscribe() {}
118
+
119
+
120
+
121
+ /* テーブル結合用 */
122
+
123
+ public Subscribe(String id, int code) {
124
+
125
+ this.id = id;
126
+
127
+ this.code = code;
128
+
129
+ }
130
+
131
+
132
+
133
+ public Subscribe(int count, int year) {
134
+
135
+ super();
136
+
137
+ this.year = year;
138
+
139
+ this.count = count;
140
+
141
+ }
142
+
143
+
144
+
145
+ /* 申し込み申請時に使用 idは申込者が誰かの判定に必要な為追加 */
146
+
147
+ public Subscribe(String id, int code, String number) {
148
+
149
+ this.id = id;
150
+
151
+ this.code = code;
152
+
153
+ this.number = number;
154
+
155
+ }
156
+
157
+
158
+
159
+ /* 申請者一覧取得時に使用 genderは念の為にString型へ変更 */
160
+
161
+ public Subscribe(String id, int code, String number, String name, String address, String birth, String gender,
162
+
163
+ String kana, int year, int count, String testClass, String testName) {
164
+
165
+ this.id = id;
166
+
167
+ this.code = code;
168
+
169
+ this.number = number;
170
+
171
+ this.name = name;
172
+
173
+ this.address = address;
174
+
175
+ this.birth = birth;
176
+
177
+ this.gender = gender;
178
+
179
+ this.kana = kana;
180
+
181
+ this.year = year;
182
+
183
+ this.count = count;
184
+
185
+ this.testClass = testClass;
186
+
187
+ this.testName = testName;
188
+
189
+ }
190
+
191
+
192
+
193
+ public String getId() {
194
+
195
+ return id;
196
+
197
+ }
198
+
199
+
200
+
201
+ public void setId(String id) {
202
+
203
+ this.id = id;
204
+
205
+ }
206
+
207
+
208
+
209
+ public int getCode() {
210
+
211
+ return code;
212
+
213
+ }
214
+
215
+
216
+
217
+ public void setCode(int code) {
218
+
219
+ this.code = code;
220
+
221
+ }
222
+
223
+
224
+
225
+ public String getNumber() {
226
+
227
+ return number;
228
+
229
+ }
230
+
231
+
232
+
233
+ public void setNumber(String number) {
234
+
235
+ this.number = number;
236
+
237
+ }
238
+
239
+
240
+
241
+ public String getName() {
242
+
243
+ return name;
244
+
245
+ }
246
+
247
+
248
+
249
+ public void setName(String name) {
250
+
251
+ this.name = name;
252
+
253
+ }
254
+
255
+
256
+
257
+ public String getAddress() {
258
+
259
+ return address;
260
+
261
+ }
262
+
263
+
264
+
265
+ public void setAddress(String address) {
266
+
267
+ this.address = address;
268
+
269
+ }
270
+
271
+
272
+
273
+ public String getBirth() {
274
+
275
+ return birth;
276
+
277
+ }
278
+
279
+
280
+
281
+ public void setBirth(String birth) {
282
+
283
+ this.birth = birth;
284
+
285
+ }
286
+
287
+
288
+
289
+ public String getGender() {
290
+
291
+ return gender;
292
+
293
+ }
294
+
295
+
296
+
297
+ public void setGender(String gender) {
298
+
299
+ this.gender = gender;
300
+
301
+ }
302
+
303
+
304
+
305
+ public String getKana() {
306
+
307
+ return kana;
308
+
309
+ }
310
+
311
+
312
+
313
+ public void setKana(String kana) {
314
+
315
+ this.kana = kana;
316
+
317
+ }
318
+
319
+
320
+
321
+ public int getYear() {
322
+
323
+ return year;
324
+
325
+ }
326
+
327
+
328
+
329
+ public void setYear(int year) {
330
+
331
+ this.year = year;
332
+
333
+ }
334
+
335
+
336
+
337
+ public int getCount() {
338
+
339
+ return count;
340
+
341
+ }
342
+
343
+
344
+
345
+ public void setCount(int count) {
346
+
347
+ this.count = count;
348
+
349
+ }
350
+
351
+
352
+
353
+ public String getTestClass() {
354
+
355
+ return testClass;
356
+
357
+ }
358
+
359
+
360
+
361
+ public void setTestClass(String testClass) {
362
+
363
+ this.testClass = testClass;
364
+
365
+ }
366
+
367
+
368
+
369
+ public String getTestName() {
370
+
371
+ return testName;
372
+
373
+ }
374
+
375
+
376
+
377
+ public void setTestName(String testName) {
378
+
379
+ this.testName = testName;
380
+
381
+ }
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+ }
390
+
391
+
392
+
393
+ ```
78
394
 
79
395
  ```jsp
80
396