repo.or.cz
/
castle.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
More working tests.
[castle.git]
/
Samples
/
MonoRail
/
JSGenExample
/
Models
/
Customer.cs
blob
2c0a727caaed077f8931c96c1e0ad5c5360ae2bc
1
namespace
JSGenExample
.
Models
2
{
3
public class
Customer
4
{
5
private int
id
;
6
private string
name
,
email
;
7
8
public
Customer
()
9
{
10
}
11
12
public
Customer
(
int
id
,
string
name
,
string
email
)
13
{
14
this
.
id
=
id
;
15
this
.
name
=
name
;
16
this
.
email
=
email
;
17
}
18
19
public int
Id
20
{
21
get
{ return id; }
22
set
{ id = value; }
23
}
24
25
public string
Name
26
{
27
get
{ return name; }
28
set
{ name = value; }
29
}
30
31
public string
Email
32
{
33
get
{ return email; }
34
set
{ email = value; }
35
}
36
}
37
}