First connection with entity object UI to Object
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
44
AdventureWorks.EntityLayer/EntityClasses/User.cs
Normal file
44
AdventureWorks.EntityLayer/EntityClasses/User.cs
Normal file
@ -0,0 +1,44 @@
|
||||
namespace AdventureWorks.EntityLayer.EntityClasses
|
||||
{
|
||||
public class User
|
||||
{
|
||||
public User()
|
||||
{
|
||||
LoginId = string.Empty;
|
||||
FirstName = string.Empty;
|
||||
LastName = string.Empty;
|
||||
Email = string.Empty;
|
||||
Password = string.Empty;
|
||||
Phone = string.Empty;
|
||||
PhoneType = string.Empty;
|
||||
//IsFullTime = true;
|
||||
//IsEnrolledIn401k = true;
|
||||
//IsEnrolledInFlexTime = true;
|
||||
//IsEnrolledInHealthCare = true;
|
||||
//IsEnrolledInHSA = false;
|
||||
//IsActive = true;
|
||||
//BirthDate = "10-03-1975";
|
||||
StartTime = new TimeSpan(6, 0, 0);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public int UserId { get; set; }
|
||||
public string LoginId { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string PhoneType { get; set; }
|
||||
public bool IsFullTime { get; set; }
|
||||
public bool IsEnrolledIn401k { get; set; }
|
||||
public bool IsEnrolledInFlexTime { get; set; }
|
||||
public bool IsEnrolledInHealthCare { get; set; }
|
||||
public bool IsEnrolledInHSA { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public DateTime BirthDate { get; set; }
|
||||
public TimeSpan StartTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user