36 lines
929 B
C#
36 lines
929 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 Exper : 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 FullName { get; set; }
|
|||
|
public string UserName { get; set; }
|
|||
|
public string Password { get; set; }
|
|||
|
public bool Available { get; set; } = true;
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Navigation
|
|||
|
[ForeignKey("CompanyID")]
|
|||
|
public Company Company { get; set; }
|
|||
|
public ICollection<ExperGroup> EG { get; set; }
|
|||
|
= new List<ExperGroup>();
|
|||
|
#endregion
|
|||
|
}
|
|||
|
}
|