Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace TestDI.Lib
- {
- public class SomeClass
- {
- public Guid ID { get; set; } = Guid.NewGuid();
- public DateTime PubDate { get; set; } = Faker.DateTimeFaker.DateTime(DateTime.Now.AddYears(-1), DateTime.Now);
- public string Name { get; set; } = Faker.NameFaker.Name();
- public string GetIdea() => Faker.TextFaker.Sentence();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment