-
-
Save explorer14/8db92b0abd89957c8178bb100e67b01c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[GenerateMappedDto] | |
public sealed class Employee | |
{ | |
public Employee( | |
string name, | |
DateTime dateOfJoining) | |
{ | |
Id = Guid.NewGuid(); | |
Name = name; | |
DateOfJoining = dateOfJoining; | |
} | |
public Guid Id { get; } | |
public string Name { get; } | |
public DateTime DateOfJoining { get; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment