using System; using System.ComponentModel.DataAnnotations; namespace LqSalaryCalculationService.Models { /// /// 员工工资计算结果模型 /// public class EmployeeSalary { /// /// 主键ID /// public string Id { get; set; } = string.Empty; /// /// 员工姓名 /// public string EmployeeName { get; set; } = string.Empty; /// /// 员工ID /// public string EmployeeId { get; set; } = string.Empty; /// /// 门店名称 /// public string StoreName { get; set; } = string.Empty; /// /// 门店ID /// public string StoreId { get; set; } = string.Empty; /// /// 职位 /// public string Position { get; set; } = string.Empty; /// /// 岗位分类 /// public string PositionCategory { get; set; } = string.Empty; /// /// 计算月份 /// public string CalculationMonth { get; set; } = string.Empty; /// /// 底薪 /// public decimal BaseSalary { get; set; } /// /// 总业绩 /// public decimal TotalPerformance { get; set; } /// /// 消耗业绩 /// public decimal ConsumptionPerformance { get; set; } /// /// 项目数 /// public int ProjectCount { get; set; } /// /// 人头数 /// public int CustomerCount { get; set; } /// /// 提成金额 /// public decimal CommissionAmount { get; set; } /// /// 奖金金额 /// public decimal BonusAmount { get; set; } /// /// 扣款金额 /// public decimal DeductionAmount { get; set; } /// /// 应发工资 /// public decimal GrossSalary { get; set; } /// /// 实发工资 /// public decimal NetSalary { get; set; } /// /// 金三角业绩 /// public decimal TeamPerformance { get; set; } /// /// 金三角提成 /// public decimal TeamCommission { get; set; } /// /// 是否新店 /// public bool IsNewStore { get; set; } /// /// 门店生命线 /// public decimal StoreLifeLine { get; set; } /// /// 是否达标 /// public bool IsTargetAchieved { get; set; } /// /// 创建时间 /// public DateTime CreatedTime { get; set; } = DateTime.Now; /// /// 备注 /// public string Remarks { get; set; } = string.Empty; } }