26 lines
596 B
C#
26 lines
596 B
C#
using Microsoft.VisualBasic.FileIO;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectFamilyBudget.Entities;
|
|
|
|
public class People
|
|
{
|
|
public int Id { get; private set; }
|
|
public string FullName { get; private set; } = string.Empty;
|
|
public int FamilyId { get; private set; }
|
|
public static People CreatePeople(int id, string fullName, int familyId)
|
|
{
|
|
return new People
|
|
{
|
|
Id = id,
|
|
FullName = fullName,
|
|
FamilyId = familyId
|
|
};
|
|
}
|
|
|
|
}
|