using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectFamilyBudget.Entities; public class IncomePeopleIncome { public int Id { get; private set; } public int IncomeId { get; private set; } public int Sum { get; private set; } public static IncomePeopleIncome CreateElement(int id,int incomeId, int sum) { return new IncomePeopleIncome { Id = id, IncomeId = incomeId, Sum = sum }; } }