model and Dto
This commit is contained in:
28
Hushian.Domain/Entites/User.cs
Normal file
28
Hushian.Domain/Entites/User.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Hushian.Domain.Abstracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hushian.Domain.Entites
|
||||
{
|
||||
public class User:BaseEntity
|
||||
{
|
||||
#region Key
|
||||
public int ID { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Fild
|
||||
public DateTime Cdatetime
|
||||
{ get; set; } = DateTime.Now;
|
||||
public string? FullName { get; set; }
|
||||
public string Mobile { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Navigation
|
||||
public ICollection<Conversation> Conversations { get; set; }
|
||||
= new List<Conversation>();
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user