123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- 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; }
- /// <summary>
- /// 考核占比
- /// </summary>
- public decimal AssessmentProportion { get; set; }
- /// <summary>
- /// 评分标准
- /// </summary>
- public string AssessmentStandard { get; set; }
- /// <summary>
- /// 父编号
- /// </summary>
- public int ParentId { get; set; }
- /// <summary>
- /// 项目设置表id
- /// </summary>
- public int AssessmentSettingId { get; set; }
- /// <summary>
- /// 占比
- /// </summary>
- public decimal AssessmentProportionChi { get; set; }
- /// <summary>
- /// 目标值
- /// </summary>
- public string TargetValue { get; set; }
- /// <summary>
- /// 岗位id
- /// </summary>
- public int JobId { get; set; }
- /// <summary>
- /// 员工id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// 固定标识 (1 是固定 2 是灵活)
- /// </summary>
- public int Fixed { get; set; }
- public List<TreeNode> Children { get; set; }
- public decimal AssessmentProportion_Percentage { get; set; }
- /// <summary>
- /// 年月份
- /// </summary>
- public DateTime YearMonth { get; set; }
- /// <summary>
- /// 达成情况
- /// </summary>
- public string Status { get; set; }
- /// <summary>
- /// 自评
- /// </summary>
- public decimal SelfAssessment { get; set; }
- /// <summary>
- /// 上级评分
- /// </summary>
- public decimal HigherUpAssessment { get; set; }
- /// <summary>
- /// 该项得分
- /// </summary>
- public decimal Score { get; set; }
- /// <summary>
- /// 绩效分
- /// </summary>
- public decimal ScoreTotal { get; set; }
- /// <summary>
- /// 上级确认
- /// </summary>
- public int HigherUpConfig { get; set; }
- /// <summary>
- /// 上级员工id
- /// </summary>
- public int HigherUpUserId { get; set; }
- /// <summary>
- /// 详细信息
- /// </summary>
- //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; }
- /// <summary>
- /// 项目设置表id
- /// </summary>
- public int AssessmentSettingId { get; set; }
- /// <summary>
- /// 占比
- /// </summary>
- public decimal AssessmentProportionChi { get; set; }
- /// <summary>
- /// 目标值
- /// </summary>
- public string TargetValue { get; set; }
- /// <summary>
- /// 岗位id
- /// </summary>
- public int JobId { get; set; }
- /// <summary>
- /// 员工id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// 固定标识 (1 是固定 2 是灵活)
- /// </summary>
- 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
- {
- /// <summary>
- /// 创建人id
- /// </summary>
- public int CreateUserId { get; set; }
- /// <summary>
- /// 绩效日期
- /// </summary>
- public string AssessmenData { get; set; }
- /// <summary>
- /// 绩效数据
- /// </summary>
- public List<itemScore> Data { get; set; }
- }
- public class itemScore
- {
- //public int ScoreId { get; set; }
- /// <summary>
- /// 内容项id
- /// </summary>
- public int AssessmentContentSettingId { get; set; }
- /// <summary>
- /// 自评分
- /// </summary>
- public decimal SelfAssessment { get; set; }
- /// <summary>
- /// 上级评分
- /// </summary>
- public decimal HigherUpAssessment { get; set; }
- /// <summary>
- /// 上级领导id
- /// </summary>
- public int LeadersId { get; set; }
-
- /// <summary>
- /// 评估标准
- /// </summary>
- public string Status { get; set; }
- }
- public class DeleteAssessmentSettingDto
- {
- public List<int> IdArr { get; set;}
- public int UserId { get; set;}
- }
- }
|