Пример #1
0
 //constructor to initialize private member variables
 public Submission(
     int SubmissionID,
     User user,
     int ExhibitID,
     Artwork artwork,
     string SubmissionComments,
     string AdminComments,
     string Status,
     bool NotificationStatus
     )
 {
     this.submissionID       = SubmissionID;
     this.user               = user;
     this.exhibitID          = ExhibitID;
     this.artwork            = artwork;
     this.submissionComments = SubmissionComments;
     this.adminComments      = AdminComments;
     this.status             = Status;
     this.notificationStatus = NotificationStatus;
 }
Пример #2
0
 //todo:remove!!
 public void setArtwork(Artwork a)
 {
     this.artwork = a;
 }