public static ContractDistributor NewEmpty() { return(new ContractDistributor() { Id = -1, IdB = string.Empty, ContractDate = DateTime.Now, Distributor = Distributor.NewEmpty(), GRVBayerEmployee = BayerEmployee.NewEmpty(), RTVBayerEmployee = BayerEmployee.NewEmpty(), Year = DateTime.Now.Year }); }
public static ContractSubdistributor NewEmpty() { return(new ContractSubdistributor() { Id = -1, IdB = string.Empty, ContractDate = PSD.Common.Dates.Today, Subdistributor = Subdistributor.NewEmpty(), GRVBayerEmployee = BayerEmployee.NewEmpty(), RTVBayerEmployee = BayerEmployee.NewEmpty(), Year = PSD.Common.Dates.Today.Year, DistributorPurchases = new List <DistributorPurchasesXContractSubdistributor>(), RegisteredRegionName = string.Empty, RegisteredZoneName = string.Empty }); }