public static PlanUser RandomCreate() { return(new PlanUser() { Plan = FactoryPlan.RandomCreate(), User = FactoryUser.RandomCreate() }); }
public static Scene RandomCreate() { return(new Scene() { SceneId = Guid.NewGuid(), Name = nameof(Scene.Name), Description = nameof(Scene.Description), ModifyDate = DateTime.Now, SceneType = FactorySceneType.RandomCreate(), Plan = FactoryPlan.RandomCreate() }); }