namespace Performance.DtoModels.Request
{
    public class QuerySchemeResultList
    {
        ///// <summary>
        ///// 核算组别（页面带进来）
        ///// </summary>
        //public string UnitType { get; set; }
        ///// <summary>
        ///// 核算单元（页面带进来）
        ///// </summary>
        //public string AccountingUnit { get; set; }
        public int SchemeId { get; set; }
        public int AllotId { get; set; }
        public string? TargetUnitType { get; set; }
        public string? TargetAccountingUnit { get; set; }
        public string? ItemName2 { get; set; }
        public int Page { get; set; } = 1;
        public int PageSize { get; set; } = 20;
    }
    public class QuerySchemeEnterDetailList
    {
        public int AllotId { get; set; }
        public int ItemId { get; set; }
        /// <summary>
        /// 考核目标核算组别
        /// </summary>
        public string? TargetUnitType { get; set; }
        /// <summary>
        /// 考核目标核算单元
        /// </summary>
        public string? TargetAccountingUnit { get; set; }
        /// <summary>
        /// 操作类型   未提交 = 1,待审核 = 2,审核通过 = 3,驳回 = 4,
        /// </summary>
        public Assess.AssessState State { get; set; }
        /// <summary>
        /// 二级指标名称
        /// </summary>
        public string? ItemName2 { get; set; }
        public int Page { get; set; } = 1;
        public int PageSize { get; set; } = 20;
    }

    public class EditSchemeEnterAudit
    {
        public int AllotId { get; set; }
        public int IssueId { get; set; }
        public int ItemId { get; set; }

        /// <summary>
        /// 操作类型   未提交 = 1,待审核 = 2,审核通过 = 3,驳回 = 4,
        /// </summary>
        public Assess.AssessState State { get; set; }
        /// <summary>
        /// 审核或驳回原因
        /// </summary>
        public string? AuditRemark { get; set; }
    }


    public class EditAssessSchemeEnterRequest
    {
        public int IssueId { get; set; }
        /// <summary>
        /// 考核扣分
        /// </summary>
        public decimal? Score { get; set; }
        /// <summary>
        /// 扣分原因
        /// </summary>
        public string? ScoreRemark { get; set; }

    }
}
