using F9WebAiTest.Domain.Enums.SYS.Employees;
namespace F9WebAiTest.Application.Dtos.Prod;
// ==================== 车头工看台记录 ====================
public class KtjlctgReadDto_View
{
public long Id { get; set; }
public DateTime Date { get; set; }
public long DepId { get; set; }
public string DepName { get; set; } = "";
public Prod_Banci_Enum Banci { get; set; }
public string BanciName { get; set; } = "";
public int Jizu { get; set; }
public decimal Hours { get; set; }
public long EmployeeId { get; set; }
public string EmployeeName { get; set; } = "";
public long EmployeeDepId { get; set; }
public string EmployeeDepName { get; set; } = "";
public long WorktypeId { get; set; }
public string WorktypeName { get; set; } = "";
public bool NoChanliang { get; set; }
}
// ==================== 挡车工看台记录 ====================
public class KtjldcgReadDto_View
{
public long Id { get; set; }
public DateTime Date { get; set; }
public long DepId { get; set; }
public string DepName { get; set; } = "";
public Prod_Banci_Enum Banci { get; set; }
public string BanciName { get; set; } = "";
public int Jizu { get; set; }
public int ChetaiStart { get; set; }
public int ChetaiEnd { get; set; }
public decimal DangcheNum { get; set; }
public decimal Hours { get; set; }
public long EmployeeId { get; set; }
public string EmployeeName { get; set; } = "";
public long EmployeeDepId { get; set; }
public string EmployeeDepName { get; set; } = "";
public long WorktypeId { get; set; }
public string WorktypeName { get; set; } = "";
public bool NoChanliang { get; set; }
}
// ==================== 整组保存 ====================
/// 看台记录整组保存(按 日期+车间+班次 先删后建,对齐 F9 的 SaveCommand)
public class KtjlctgBatchDto
{
public DateTime Date { get; set; }
public long DepId { get; set; }
public Prod_Banci_Enum Banci { get; set; }
public List Items { get; set; } = new();
}
public class KtjldcgBatchDto
{
public DateTime Date { get; set; }
public long DepId { get; set; }
public Prod_Banci_Enum Banci { get; set; }
public List Items { get; set; } = new();
}