model and Dto

This commit is contained in:
mmrbnjd
2025-06-28 15:31:07 +03:30
parent 1f6ca5ee5f
commit c0b47129d4
38 changed files with 905 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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; }
#endregion
#region Navigation
[ForeignKey("CompanyID")]
public Company Company { get; set; }
public ICollection<ExperGroup> EG { get; set; }
= new List<ExperGroup>();
#endregion
}
}