using System; using System.Collections.Generic; namespace VidFilesUpgradeTool { class Conversation : TrackableEntity { public string Name { get; set; } /// /// Indicate if it is a multi-people conversation /// public bool Multiple { get; set; } public UserInfoWithImage CreateUser { get; set; } /// /// The master of this conversation /// public UserInfoWithImage Master { get; set; } public ICollection Members { get; set; } public DateTime CloseTime { get; set; } } class UserInfoWithImage : EntityInfo { public byte[] SmallHeadImage { get; set; } public string NickName { get; set; } } class FriendShip : Entity { public virtual UserInfo User { get; set; } public virtual UserInfo Friend { get; set; } } class Remark : TrackableEntity { public virtual UserInfo SourceUser { get; set; } public virtual UserInfo TargetUser { get; set; } public string RemarkName { get; set; } } }