using BS.Shared;

namespace BeWo.Data.Entities
{
    public class SupportConceptApprovalPeriod2Employee : BeWoEntityBase
    {
        public static string PropertyName_Employee                     = "Employee";
        public static string PropertyName_SupportConceptApprovalPeriod = "SupportConceptApprovalPeriod";
        public static string PropertyName_Betreuungsschluessel         = "Betreuungsschluessel";

        private Employee                     _Employee;
        private SupportConceptApprovalPeriod _SupportConceptApprovalPeriod;
        private decimal                      _Betreuungsschluessel;


        public SupportConceptApprovalPeriod2Employee()
        {
            _Tid = TableID.SupportConceptApprovalPeriod2Employee;
        }


        public virtual Employee Employee
        {
            get { return _Employee; }

            set
            {
                if (AreDifferent(_Employee, value))
                {
                    _Employee = value;
                }
            }
        }

        public virtual SupportConceptApprovalPeriod SupportConceptApprovalPeriod
        {
            get { return _SupportConceptApprovalPeriod; }

            set
            {
                if (AreDifferent(_SupportConceptApprovalPeriod, value))
                {
                    _SupportConceptApprovalPeriod = value;
                }
            }
        }

        public virtual decimal Betreuungsschluessel
        {
            get { return _Betreuungsschluessel; }

            set
            {
                if (AreDifferent(_Betreuungsschluessel, value))
                {
                    _Betreuungsschluessel = value;
                }
            }
        }
    }
}