...
This commit is contained in:
41
Hushian.Domain/Entites/ConversationResponse.cs
Normal file
41
Hushian.Domain/Entites/ConversationResponse.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using Common.Enums;
|
||||
using Hushian.Domain.Abstracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hushian.Domain.Entites
|
||||
{
|
||||
public class ConversationResponse : BaseEntity
|
||||
{
|
||||
#region Key
|
||||
public int ID { get; set; }
|
||||
public int ConversationID { get; set; }
|
||||
public int? ExperID { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Fild
|
||||
public bool IsRead { get; set; } = false;
|
||||
public ConversationType Type { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string? FileName { get; set; }
|
||||
public string? FileType { get; set; }
|
||||
public byte[]? FileContent { get; set; }
|
||||
public DateTime? ReadDateTime { get; set; }
|
||||
public DateTime Cdatetime
|
||||
{ get; set; } = DateTime.Now;
|
||||
#endregion
|
||||
|
||||
#region Navigation
|
||||
[ForeignKey("ConversationID")]
|
||||
public Conversation conversation { get; set; }
|
||||
|
||||
[ForeignKey("ExperID")]
|
||||
public Exper? Exper { get; set; }
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user