model and Dto
This commit is contained in:
41
Hushian.Domain/Entites/Company.cs
Normal file
41
Hushian.Domain/Entites/Company.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
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 Company : BaseEntity
|
||||
{
|
||||
#region Key
|
||||
public int ID { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Fild
|
||||
public DateTime Cdatetime
|
||||
{ get; set; } = DateTime.Now;
|
||||
public string Password { get; set; }
|
||||
public string FullName { get; set; }
|
||||
public string? FullNameManager { get; set; }
|
||||
public string Mobile { get; set; }
|
||||
public string? WebSite { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public byte[]? img { get; set; }
|
||||
public bool Available { get; set; } = true;
|
||||
public bool allowBot { get; set; } = true;
|
||||
#endregion
|
||||
|
||||
#region Navigation
|
||||
public ICollection<Group> Groups { get; set; }
|
||||
= new List<Group>();
|
||||
public ICollection<Exper> Expers { get; set; }
|
||||
= new List<Exper>();
|
||||
public ICollection<Conversation> Conversations { get; set; }
|
||||
= new List<Conversation>();
|
||||
public ICollection<CompanyContentInfo> CompanyContentInfos { get; set; }
|
||||
= new List<CompanyContentInfo>();
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user