-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClasses.cs
79 lines (72 loc) · 2.14 KB
/
Classes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
namespace 네이버카페정보수집
{
internal class RootCategory
{
internal int id;
internal string name;
internal RootCategory(int id, string name)
{
this.id = id;
this.name = name;
}
}
internal class SubCategory
{
internal int id;
internal string name;
internal int parentCategoryId;
internal int cafeCount;
internal SubCategory(int parentCategoryId, int id, string name, int cafeCount)
{
this.parentCategoryId = parentCategoryId;
this.id = id;
this.name = name;
this.cafeCount = cafeCount;
}
}
internal class Cafe
{
internal int cafeId;
internal string cafeName;
internal string cafeUrl;
internal string introduction;
internal int categoryId;
internal string subCategoryName;
internal int memberCount;
internal string ownerId;
internal string ownerName;
internal string cafeEngName;
internal Cafe(
int cafeId,
string cafeName,
string cafeUrl,
string introduction,
int categoryId,
string subCategoryName,
int memberCount,
string ownerId,
string ownerName,
string cafeEngName)
{
this.cafeId = cafeId;
this.cafeName = cafeName;
this.cafeUrl = cafeUrl;
this.introduction = introduction;
this.categoryId = categoryId;
this.subCategoryName = subCategoryName;
this.memberCount = memberCount;
this.ownerId = ownerId;
this.ownerName = ownerName;
this.cafeEngName = cafeEngName;
}
}
internal class CafeStaff {
internal string managerName;
internal string managerId;
internal CafeStaff(string managerName, string managerId)
{
this.managerName = managerName;
this.managerId = managerId;
}
}
}