using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Offers
{
    public enum OfferState { Created, Active, Completed, Outdated, Rejected }

    [Serializable]
    public class OfferTime
    {
        public DateTime startTime;
        public DateTime endTime;
    }

    [Serializable]
    public class OfferData : OfferTime
    {
        public Guid ID;

        public OfferState state = OfferState.Created;

        public string customerIconID;
        public string customerName;

        //public string place;
        public string description;

        public DateTime offerCreatedTime;
        public DateTime outdatedTime;

        //public float timeToAccept;
        public int reward;

        //public List<Employee> workers = new List<Employee>();
        //public List<CostumeType> costumes = new List<CostumeType>();
        public int animatorsCount = 1;

        public int offerNumber;

        public OfferData()
        {
            ID = Guid.NewGuid();
        }
    }
}