namespace WorkerService
{
    public class WorkerEntity
    {
        public Guid Id { get; set; }
        public string FIO { get; set; }

        public Guid PostId { get; set; }
        public PostEntity Post {  get; set; } 
    }

    public class PostEntity
    {
        public Guid id { get; set; }
        public string name { get; set; }
    }

    public class CreateUpdateWorker
    {
        public string FIO { get; set; }

        public Guid PostId { get; set; }
    }

    public class GetEntity
    {
        public Guid Id { get; set; }
        public string FIO { get; set; }

        public Guid PostId { get; set; }
    }
}
