45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
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[]? logo { get; set; }
|
|
public bool Available { get; set; } = true;
|
|
public bool allowBot { get; set; } = true;
|
|
public bool Verified { get; set; } = false;
|
|
#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>();
|
|
public ICollection<Prompt> prompts { get; set; }
|
|
= new List<Prompt>();
|
|
#endregion
|
|
}
|
|
}
|