公司员工新增领导与普通员工之分

This commit is contained in:
fuenmao
2026-04-02 13:56:25 +08:00
parent 589dd0305b
commit aa50e569f0
4 changed files with 78 additions and 24 deletions
@@ -1,4 +1,4 @@
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
//
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
// 1.请不要删除和修改根目录下的LICENSE文件。
@@ -44,6 +44,7 @@ namespace SimpleAdmin.Application.Services.Prescription.Dto
public DateTime CreateTime { get; set; }
public decimal TotalMedicineCost { get; set; }
public int? Type { get; set; }
}
// 辅助类:存储FIFO计算所需的入库记录信息
@@ -89,6 +90,7 @@ namespace SimpleAdmin.Application.Services.Prescription.Dto
public string EmployeeName { get; set; }
public long? RelationShip { get; set; }
public string RelationShipName { get; set; }
public int? Type { get; set; }
}
// 处方药材DTO
@@ -131,6 +133,7 @@ namespace SimpleAdmin.Application.Services.Prescription.Dto
/// 当 EmployeeIsTemp 为 true 或者前端直接传了员工名字时,后端可用此字段创建员工
/// </summary>
public string EmployeeName { get; set; }
public int? Type { get; set; }
}
// 处方药材输入DTO
public class PrescriptionHerbInputDto
@@ -150,6 +153,7 @@ namespace SimpleAdmin.Application.Services.Prescription.Dto
public decimal? Height { get; set; }
public long? RelationShip { get; set; }
public int? Type { get; set; }
}
// 关系类型DTO