using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wispro.sp.entity
{
    public class AppealRecord
    {
        public int Id { get; set; }

        public Staff Creater { get; set; }

        public int CreaterId { get; set; }

        public DateTime CreateTime { get; set; } = DateTime.Now;

        public List<AttachFile> AttachFiles { get; set; }

        public string Reason { get; set; }

        /// <summary>
        /// 申诉状态
        /// 0：待审核
        /// 1：审核完成
        /// </summary>
        public int State { get; set; }

        public virtual Staff Reviewer { get; set; }

        public int? ReviewerId { get; set; }

        public string ReviewerMemo { get; set; }

        public DateTime? ReviewTime { get; set; } 

        public virtual AppealType Type { get; set; }

        public int TypeId { get; set; }

        public int? ItemId { get; set; }

        public virtual PerformanceItem Item { get; set; }
    }
}
