This commit is contained in:
2018-08-31 19:44:20 +00:00
parent a0399fb47d
commit 0a3e98c27f
2 changed files with 28 additions and 6 deletions

View File

@@ -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