35 lines
902 B
C#
35 lines
902 B
C#
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 Group:BaseEntity
|
|
{
|
|
#region Key
|
|
public int ID { get; set; }
|
|
public int CompanyID { get; set; }
|
|
#endregion
|
|
|
|
#region Fild
|
|
public DateTime Cdatetime
|
|
{ get; set; } = DateTime.Now;
|
|
public string Name { get; set; }
|
|
public byte[]? img { get; set; }
|
|
public string? Info { get; set; }
|
|
public bool Available { get; set; }
|
|
#endregion
|
|
|
|
#region Navigation
|
|
[ForeignKey("CompanyID")]
|
|
public Company Company { get; set; }
|
|
public ICollection<ExperGroup> EG { get; set; }
|
|
= new List<ExperGroup>();
|
|
#endregion
|
|
}
|
|
}
|