using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Entities.PersonnelModule { /// /// 人事模块 /// 工资表单 /// [SugarTable("Pm_WageSheet")] public class Pm_WageSheet:EntityBase { /// /// 员工Id /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int UserId { get; set; } /// /// 年月 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string? YearMonth { get; set; } /// /// 工资日期 起 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string? StartDate { get; set; } /// /// 工资日期 止 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string? EndDate { get; set; } /// /// 当月应出勤天数 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int WorkDays { get; set; } /// /// 正常出勤天数 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int RegularDays { get; set; } /// /// 基本工资 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal Basic { get; set; } /// /// 岗位津贴 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal PostAllowance { get; set; } /// /// 绩效工资 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal Floats { get; set; } /// /// 保密费 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal InformationSecurityFee { get; set; } /// /// 其他应付 /// 主要用来填比如补发工资之类 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal OtherHandle { get; set; } /// /// 服装洗理补贴 弃用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal GarmentWashSubsidies { get; set; } /// /// 通讯补贴 弃用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal CommunicationSubsidies { get; set; } /// /// 交通补贴 弃用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal TrafficSubsidies { get; set; } /// /// 操作奖金 弃用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal OperationBonus { get; set; } /// /// 过节费 弃用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal SpecialAllowance { get; set; } = 0.00M; /// /// 月度补贴/其他补贴 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal OtherSubsidies { get; set; } /// /// 餐补 /// 不纳入日工资计算 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal Mealsupplement { get; set; } /// /// 代扣保险 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal WithholdingInsurance { get; set; } /// /// 代扣公积金 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal ReservedFunds { get; set; } /// /// 部门集体团建费 弃用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal GroupCost { get; set; } /// /// 病假 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal SickLeave { get; set; } /// /// 事假 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal SomethingFalse { get; set; } /// /// 迟到 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal LateTo { get; set; } /// /// 早退 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal LeaveEarly { get; set; } /// /// 旷工 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal Absenteeism { get; set; } /// /// 未打卡 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal NotPunch { get; set; } /// /// 其他扣款 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal OtherDeductions { get; set; } /// /// 扣款项 明细 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")] public string? Ex_ItemsRemark { get; set; } /// /// 应发合计 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal Should { get; set; } /// /// 扣款合计 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal TotalDeductions { get; set; } /// /// 实发合计(税后工资) /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal TotalRealHair { get; set; } /// /// 代扣个税 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal WithholdingTax { get; set; } /// /// 税后工资 弃用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal AfterTax { get; set; } /// /// 锁定标识 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public decimal IsLock { get; set; } = 0; /// /// 是否确认 /// 0 否 1 是 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int IsSure { get; set; } = 0; /// /// 最后操作人 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int LastUpdateUserId { get; set; } /// /// 最后操作时间 /// [SugarColumn(IsNullable = true, ColumnDataType = "datetime")] public DateTime LastUpdateDt { get; set; } = DateTime.Now; } }