This commit is contained in:
@@ -47,6 +47,21 @@ namespace AyaNova.Models
|
||||
}
|
||||
}
|
||||
|
||||
public Event(long ownerId, long ayId, AyaType ayType, AyaEvent ayEvent, DateTime created, string textra = null)
|
||||
{
|
||||
Created = created;
|
||||
OwnerId = ownerId;
|
||||
AyId = ayId;
|
||||
AyType = ayType;
|
||||
AyEvent = ayEvent;
|
||||
if (textra != null)
|
||||
{
|
||||
if (textra.Length > 255)
|
||||
textra = textra.Substring(0, 255);
|
||||
Textra = textra;
|
||||
}
|
||||
}
|
||||
|
||||
}//eoc
|
||||
|
||||
}//eons
|
||||
|
||||
Reference in New Issue
Block a user