You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
348 B
16 lines
348 B
public class Photo {
|
|
|
|
private int _id;
|
|
private int _albumid;
|
|
private string _caption;
|
|
|
|
public int PhotoID { get { return _id; } }
|
|
public int AlbumID { get { return _albumid; } }
|
|
public string Caption { get { return _caption; } }
|
|
|
|
public Photo(int id, int albumid, string caption) {
|
|
_id = id;
|
|
_albumid = albumid;
|
|
_caption = caption;
|
|
}
|