public Registration(int participateId, int eventId, int usernameId, EventM eventM, UserAcc userAcc) { this.participateId = participateId; this.eventId = eventId; this.usernameId = usernameId; EventM = eventM; UserAcc = userAcc; }
public EventM(int eventId, string event_name, string event_date, string venue, string location, int attendance_limit, int rating, string additional_info, int usernameId, UserAcc userAcc) { this.eventId = eventId; this.event_name = event_name; this.event_date = event_date; this.venue = venue; this.location = location; this.attendance_limit = attendance_limit; //this.budget = budget; this.rating = rating; this.additional_info = additional_info; this.usernameId = usernameId; UserAcc = userAcc; }