123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System;
- using System.Collections.Generic;
- namespace VidFilesUpgradeTool
- {
- class Conversation : TrackableEntity
- {
- public string Name { get; set; }
- /// <summary>
- /// Indicate if it is a multi-people conversation
- /// </summary>
- public bool Multiple { get; set; }
- public UserInfoWithImage CreateUser { get; set; }
- /// <summary>
- /// The master of this conversation
- /// </summary>
- public UserInfoWithImage Master { get; set; }
- public ICollection<UserInfoWithImage> 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; }
- }
- }
|