using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Dtos.PersonnelModule
{
public class TreeNode
{
public int Id { get; set; }
public int ContentId { get; set; }
public string Name { get; set; }
///
/// 考核占比
///
public decimal AssessmentProportion { get; set; }
///
/// 评分标准
///
public string AssessmentStandard { get; set; }
///
/// 父编号
///
public int ParentId { get; set; }
///
/// 项目设置表id
///
public int AssessmentSettingId { get; set; }
///
/// 占比
///
public decimal AssessmentProportionChi { get; set; }
///
/// 目标值
///
public string TargetValue { get; set; }
///
/// 岗位id
///
public int JobId { get; set; }
///
/// 员工id
///
public int UserId { get; set; }
///
/// 固定标识 (1 是固定 2 是灵活)
///
public int Fixed { get; set; }
public List Children { get; set; }
public decimal AssessmentProportion_Percentage { get; set; }
///
/// 年月份
///
public DateTime YearMonth { get; set; }
///
/// 达成情况
///
public string Status { get; set; }
///
/// 自评
///
public decimal SelfAssessment { get; set; }
///
/// 上级评分
///
public decimal HigherUpAssessment { get; set; }
///
/// 该项得分
///
public decimal Score { get; set; }
///
/// 绩效分
///
public decimal ScoreTotal { get; set; }
///
/// 上级确认
///
public int HigherUpConfig { get; set; }
///
/// 上级员工id
///
public int HigherUpUserId { get; set; }
/////
///// 详细信息
/////
//public string Details { get; set; }
}
public class PerAssessmentSettingOperationDto
{
[Required(ErrorMessage = "项名称不能为空")]
public string Name { get; set; }
public decimal AssessmentProportion { get; set; }
public string AssessmentStandard { get; set; }
public int ParentId { get; set; }
public int Id { get; set; }
public int CreateId { get; set; }
public string Remark { get; set; }
}
public class AssessmentSettingOperationContenDto
{
public int Id { get; set; }
public int CreateUserId { get; set; }
///
/// 项目设置表id
///
public int AssessmentSettingId { get; set; }
///
/// 占比
///
public decimal AssessmentProportionChi { get; set; }
///
/// 目标值
///
public string TargetValue { get; set; }
///
/// 岗位id
///
public int JobId { get; set; }
///
/// 员工id
///
public int UserId { get; set; }
///
/// 固定标识 (1 是固定 2 是灵活)
///
public int Fixed { get; set; }
public string Remark { get; set; }
}
public class QueryAssessmentSettingListOffsetAsyncDto
{
public int pageIndex { get; set; }
public int pageSize { get; set; }
public string SearchValue { get; set; }
}
public class QueryAssessmentByUser
{
public int UserId { get; set; }
public string Start { get; set; }
public string End { get; set; }
}
public class SaveUserAssessmenDto
{
///
/// 创建人id
///
public int CreateUserId { get; set; }
///
/// 绩效日期
///
public string AssessmenData { get; set; }
///
/// 绩效数据
///
public List Data { get; set; }
}
public class itemScore
{
//public int ScoreId { get; set; }
///
/// 内容项id
///
public int AssessmentContentSettingId { get; set; }
///
/// 自评分
///
public decimal SelfAssessment { get; set; }
///
/// 上级评分
///
public decimal HigherUpAssessment { get; set; }
///
/// 上级领导id
///
public int LeadersId { get; set; }
///
/// 评估标准
///
public string Status { get; set; }
}
public class DeleteAssessmentSettingDto
{
public List IdArr { get; set;}
public int UserId { get; set;}
}
}