123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Dtos.PersonnelModule
- {
- /// <summary>
- /// 人事模块
- /// 工资表单 Dto
- /// </summary>
- public class WageSheetDto
- {
- }
- public class WageYearDto
- {
- /// <summary>
- /// 年
- /// </summary>
- public int Year { get; set; }
- }
- /// <summary>
- /// 工资表单List Dto
- /// </summary>
- public class WageSheetListDto : PortDtoBase
- {
- /// <summary>
- /// 年月
- /// </summary>
- public string? YearMonth { get; set; }
- ///// <summary>
- ///// 开始日期
- ///// </summary>
- //public string? StartDt { get; set; }
- ///// <summary>
- ///// 结束日期
- ///// </summary>
- //public string? EndDt { get; set; }
- }
- /// <summary>
- /// 工资表单Info Dto
- /// </summary>
- public class WageSheetInfoDto : PortDtoBase
- {
- /// <summary>
- /// id
- /// </summary>
- public int Id { get; set; }
- }
- /// <summary>
- /// 添加或者修改
- /// </summary>
- public class WageAddOrEditDto : OpBaseDto
- {
- /// <summary>
- /// 用户Id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// 年月
- /// </summary>
- public string? YearMonth { get; set; }
- /// <summary>
- /// 工资日期 起
- /// </summary>
- public string? StartDate { get; set; }
- /// <summary>
- /// 工资日期 止
- /// </summary>
- public string? EndDate { get; set; }
- /// <summary>
- /// 应出勤天数
- /// </summary>
- public int WorkDays { get; set; }
- /// <summary>
- /// 正常出勤天数
- /// </summary>
- public int RegularDays { get; set; }
- /// <summary>
- /// 基本工资
- /// </summary>
- public decimal Basic { get; set; }
- /// <summary>
- /// 绩效工资
- /// </summary>
- public decimal Floats { get; set; }
- /// <summary>
- /// 岗位津贴
- /// </summary>
- public decimal PostAllowance { get; set; }
- /// <summary>
- /// 保密费
- /// </summary>
- public decimal InformationSecurityFee { get; set; }
- /// <summary>
- /// 其他应发
- /// </summary>
- public decimal OtherHandle { get; set; }
- /// <summary>
- /// 月度补贴/其他补贴
- /// </summary>
- public decimal OtherSubsidies { get; set; }
- /// <summary>
- /// 餐补
- /// </summary>
- public decimal Mealsupplement { get; set; }
- /// <summary>
- /// 代扣保险
- /// </summary>
- public decimal WithholdingInsurance { get; set; }
- /// <summary>
- /// 代扣公积金
- /// </summary>
- public decimal ReservedFunds { get; set; }
- /// <summary>
/// 代扣个税
/// </summary>
public decimal WithholdingTax { get; set; }
- /// <summary>
- /// 病假
- /// </summary>
- public decimal SickLeave { get; set; }
- /// <summary>
- /// 事假
- /// </summary>
- public decimal SomethingFalse { get; set; }
- /// <summary>
- /// 迟到
- /// 计算次数
- /// </summary>
- public decimal LateTo { get; set; }
- /// <summary>
- /// 早退
- /// 计算次数
- /// </summary>
- public decimal LeaveEarly { get; set; }
- /// <summary>
- /// 旷工
- /// 小时计算 7.5小时一天
- /// </summary>
- public decimal Absenteeism { get; set; }
- /// <summary>
- /// 未打卡
- /// </summary>
- public decimal NotPunch { get; set; }
- /// <summary>
- /// 其他扣款
- /// </summary>
- public decimal OtherDeductions { get; set; }
- /// <summary>
- /// 假勤 / 打卡补卡 明细
- /// </summary>
- public string? Ex_ItemsRemark { get; set; }
- }
- /// <summary>
- /// 删除
- /// </summary>
- public class WageDelDto
- {
- /// <summary>
- /// 用户Id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int Id { get; set; }
- }
- /// <summary>
- /// 计算工资 Dto
- /// </summary>
- public class SalaryCalculatorDto
- {
- /// <summary>
- /// 员工Id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// 年月
- /// eg 2023-10
- /// </summary>
- public string? yearMonth { get; set; }
- /// <summary>
- ///开始日期
- /// eg 2023-10-01
- /// </summary>
- public string? startDt { get; set; }
- /// <summary>
- /// 结束日期
- /// eg 2023-10-01
- /// </summary>
- public string? endDt { get; set; }
- }
- /// <summary>
- /// 计算工资 单个 Dto
- /// </summary>
- public class SalaryCalculatorSingleDto
- {
- /// <summary>
- /// 用户Id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// 年月
- /// </summary>
- public string? YearMonth { get; set; }
- /// <summary>
- /// 工资日期 起
- /// </summary>
- public string? StartDate { get; set; }
- /// <summary>
- /// 工资日期 止
- /// </summary>
- public string? EndDate { get; set; }
- /// <summary>
- /// 基本工资
- /// </summary>
- public decimal Basic { get; set; }
- /// <summary>
- /// 绩效工资
- /// </summary>
- public decimal Floats { get; set; }
- /// <summary>
- /// 岗位津贴
- /// </summary>
- public decimal PostAllowance { get; set; }
- /// <summary>
- /// 保密费
- /// </summary>
- public decimal InformationSecurityFee { get; set; }
- /// <summary>
- /// 其他应付
- /// 主要用来填比如补发工资之类
- /// </summary>
- public decimal otherHandle { get; set; }
- /// <summary>
- /// 月度补贴/其他补贴
- /// </summary>
- public decimal OtherSubsidies { get; set; }
- /// <summary>
- /// 餐补
- /// </summary>
- public decimal Mealsupplement { get; set; }
- /// <summary>
- /// 个税
- /// </summary>
- public decimal WithholdingTax { get; set; }
- /// <summary>
/// 代扣公积金
/// </summary>
public decimal ReservedFunds { get; set; }
- /// <summary>
/// 代扣保险
/// </summary>
public decimal WithholdingInsurance { get; set; }
- /// <summary>
/// 其他扣款
/// </summary>
public decimal OtherDeductions { get; set; }
- }
- }
|