1
This commit is contained in:
72
ZR.Model/MES/qc/DTO/QcBackEndBaseDefectDto.cs
Normal file
72
ZR.Model/MES/qc/DTO/QcBackEndBaseDefectDto.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道基础缺陷项查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseDefectQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后道基础缺陷项输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseDefectDto
|
||||
{
|
||||
[Required(ErrorMessage = "序号不能为空")]
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Code { get; set; }
|
||||
|
||||
public string Group { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class QcBackEndAlterationDefectDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 缺陷项组别
|
||||
/// </summary>
|
||||
public string GroupName { get; set; }
|
||||
public List<QcBackEndChildrenDefectDto> Children { get; set; }
|
||||
}
|
||||
|
||||
public class QcBackEndChildrenDefectDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 缺陷项名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 缺陷项编号
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
/// <summary>
|
||||
/// 缺陷项类别 1-抛光 2-打磨 3-报废
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
/// <summary>
|
||||
/// 缺陷项数量
|
||||
/// </summary>
|
||||
public int Num { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
41
ZR.Model/MES/qc/DTO/QcBackEndBaseGroupDto.cs
Normal file
41
ZR.Model/MES/qc/DTO/QcBackEndBaseGroupDto.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道班组查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseGroupQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后道班组输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseGroupDto
|
||||
{
|
||||
[Required(ErrorMessage = "主键不能为空")]
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Code { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
96
ZR.Model/MES/qc/DTO/QcBackEndBaseLabelAnalysisDto.cs
Normal file
96
ZR.Model/MES/qc/DTO/QcBackEndBaseLabelAnalysisDto.cs
Normal file
@@ -0,0 +1,96 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道基础标签解析查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseLabelAnalysisQueryDto : PagerInfo { }
|
||||
|
||||
/// <summary>
|
||||
/// 后道基础标签解析输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseLabelAnalysisDto
|
||||
{
|
||||
[Required(ErrorMessage = "序号不能为空")]
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Code { get; set; }
|
||||
|
||||
public string Expression { get; set; }
|
||||
|
||||
public int? Sort { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// BackEnd标签解析标准模板
|
||||
/// </summary>
|
||||
public class QcBackEndLabelAnalysisDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 解析是否成功
|
||||
/// </summary>
|
||||
public bool IsOk { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 解析结果
|
||||
/// </summary>
|
||||
public string Msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签类型 1- 外箱标签 2-内标签
|
||||
/// </summary>
|
||||
public string LabelType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签内容
|
||||
/// </summary>
|
||||
public string LabelCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public string Workorder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件号
|
||||
/// </summary>
|
||||
public string Partnumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 规格
|
||||
/// </summary>
|
||||
public string Specification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 颜色
|
||||
/// </summary>
|
||||
public string Color { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件数
|
||||
/// </summary>
|
||||
public int Number { get; set; }
|
||||
}
|
||||
}
|
||||
41
ZR.Model/MES/qc/DTO/QcBackEndBaseSiteDto.cs
Normal file
41
ZR.Model/MES/qc/DTO/QcBackEndBaseSiteDto.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道基础站点查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseSiteQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后道基础站点输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndBaseSiteDto
|
||||
{
|
||||
[Required(ErrorMessage = "序号不能为空")]
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Code { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
41
ZR.Model/MES/qc/DTO/QcBackEndLogWorkorderDto.cs
Normal file
41
ZR.Model/MES/qc/DTO/QcBackEndLogWorkorderDto.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道工单操作日志查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndLogWorkorderQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后道工单操作日志输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndLogWorkorderDto
|
||||
{
|
||||
[Required(ErrorMessage = "序号不能为空")]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Content { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
85
ZR.Model/MES/qc/DTO/QcBackEndRecordLabelScanDto.cs
Normal file
85
ZR.Model/MES/qc/DTO/QcBackEndRecordLabelScanDto.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道扫码标签记录查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndRecordLabelScanQueryDto : PagerInfo { }
|
||||
|
||||
/// <summary>
|
||||
/// 后道扫码标签记录输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndRecordLabelScanDto
|
||||
{
|
||||
[Required(ErrorMessage = "序号不能为空")]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "标签内容不能为空")]
|
||||
public string Label { get; set; }
|
||||
|
||||
public int? LabelType { get; set; }
|
||||
|
||||
public int? LabelSort { get; set; }
|
||||
|
||||
public string ScanTime { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
|
||||
public class QcBackEndLabelScanDto
|
||||
{
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
public string Label { get; set; }
|
||||
|
||||
public int? LabelType { get; set; }
|
||||
|
||||
public int? LabelSort { get; set; }
|
||||
|
||||
public string ScanTime { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
93
ZR.Model/MES/qc/DTO/QcBackEndRecordWorkorderDefectDto.cs
Normal file
93
ZR.Model/MES/qc/DTO/QcBackEndRecordWorkorderDefectDto.cs
Normal file
@@ -0,0 +1,93 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道工单缺陷项记录查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndRecordWorkorderDefectQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后道工单缺陷项记录输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndRecordWorkorderDefectDto
|
||||
{
|
||||
[Required(ErrorMessage = "序号不能为空")]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
|
||||
public string DefectCode { get; set; }
|
||||
|
||||
public string DefectName { get; set; }
|
||||
|
||||
public string DefectType { get; set; }
|
||||
|
||||
public int? DefectNum { get; set; }
|
||||
|
||||
public string ClickTime { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
|
||||
public class QcBackEndWorkorderDefectDto
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
|
||||
public string DefectCode { get; set; }
|
||||
|
||||
public string DefectName { get; set; }
|
||||
|
||||
public string DefectType { get; set; }
|
||||
|
||||
public int? DefectNum { get; set; }
|
||||
|
||||
public string ClickTime { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
124
ZR.Model/MES/qc/DTO/QcBackEndServiceStatisticsDto.cs
Normal file
124
ZR.Model/MES/qc/DTO/QcBackEndServiceStatisticsDto.cs
Normal file
@@ -0,0 +1,124 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ZR.Model.Business;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道统计报表业务模块查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndServiceStatisticsQueryDto : PagerInfo
|
||||
{
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询排序字段(1-工单号 2-零件号 3-合格率 4-开始时间)
|
||||
/// </summary>
|
||||
public int StatisticsOrderType { get; set; }
|
||||
|
||||
public int? IsOnetime { get; set; }
|
||||
|
||||
public int? IsBack { get; set; }
|
||||
|
||||
public int? IsPolish { get; set; }
|
||||
|
||||
public int? IsOut { get; set; }
|
||||
|
||||
public DateTime? StartTime { get; set; }
|
||||
|
||||
public DateTime? EndTime { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后道统计报表业务模块输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndServiceStatisticsDto
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public string Specification { get; set; }
|
||||
|
||||
public string Color { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
|
||||
public int? IsOnetime { get; set; }
|
||||
|
||||
public int? IsBack { get; set; }
|
||||
|
||||
public int? IsPolish { get; set; }
|
||||
|
||||
public int? IsOut { get; set; }
|
||||
|
||||
public DateTime? StartTime { get; set; }
|
||||
|
||||
public DateTime? EndTime { get; set; }
|
||||
|
||||
public string Label { get; set; }
|
||||
|
||||
public int? RequireNumber { get; set; }
|
||||
|
||||
public int? QualifiedNumber { get; set; }
|
||||
|
||||
public string QualifiedRate { get; set; }
|
||||
|
||||
public int? PolishNumber { get; set; }
|
||||
|
||||
public int? DamoNumber { get; set; }
|
||||
|
||||
public int? BaofeiNumber { get; set; }
|
||||
|
||||
public string GroupCode { get; set; }
|
||||
|
||||
public int? GroupSort { get; set; }
|
||||
|
||||
public string GroupDefectJson { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
// 动态属性存储
|
||||
public Dictionary<string, object> DynamicProperties { get; set; } = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
public static class QcBackEndServiceStatisticsDtoExtensions
|
||||
{
|
||||
public static void AddDynamicProperty(this QcBackEndServiceStatisticsDto dto, string propertyName, object value)
|
||||
{
|
||||
if (!dto.DynamicProperties.ContainsKey(propertyName))
|
||||
{
|
||||
dto.DynamicProperties[propertyName] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
137
ZR.Model/MES/qc/DTO/QcBackEndServiceWorkorderDto.cs
Normal file
137
ZR.Model/MES/qc/DTO/QcBackEndServiceWorkorderDto.cs
Normal file
@@ -0,0 +1,137 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道工单业务模块查询对象
|
||||
/// </summary>
|
||||
public class QcBackEndServiceWorkorderQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后道工单业务模块输入输出对象
|
||||
/// </summary>
|
||||
public class QcBackEndServiceWorkorderDto
|
||||
{
|
||||
[Required(ErrorMessage = "序号不能为空")]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public int SerialNumber { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public string Specification { get; set; }
|
||||
|
||||
public string Color { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
|
||||
public int? IsOnetime { get; set; }
|
||||
|
||||
public int? IsBack { get; set; }
|
||||
|
||||
public int? IsPolish { get; set; }
|
||||
|
||||
public int? IsOut { get; set; }
|
||||
|
||||
public DateTime? StartTime { get; set; }
|
||||
|
||||
public DateTime? EndTime { get; set; }
|
||||
|
||||
public string Label { get; set; }
|
||||
|
||||
public int? RequireNumber { get; set; }
|
||||
|
||||
public int? QualifiedNumber { get; set; }
|
||||
|
||||
public int? PolishNumber { get; set; }
|
||||
|
||||
public int? DamoNumber { get; set; }
|
||||
|
||||
public int? BaofeiNumber { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
|
||||
public class QcBackEndWorkorderDetailDto
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
public int SerialNumber { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public string Specification { get; set; }
|
||||
|
||||
public string Color { get; set; }
|
||||
|
||||
public string Team { get; set; }
|
||||
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
public string ComNo { get; set; }
|
||||
|
||||
public int? IsOnetime { get; set; }
|
||||
|
||||
public int? IsBack { get; set; }
|
||||
|
||||
public int? IsPolish { get; set; }
|
||||
|
||||
public int? IsOut { get; set; }
|
||||
|
||||
public DateTime? StartTime { get; set; }
|
||||
|
||||
public DateTime? EndTime { get; set; }
|
||||
|
||||
public string Label { get; set; }
|
||||
|
||||
public int? RequireNumber { get; set; }
|
||||
|
||||
public int? QualifiedNumber { get; set; }
|
||||
|
||||
public int? PolishNumber { get; set; }
|
||||
|
||||
public int? DamoNumber { get; set; }
|
||||
|
||||
public int? BaofeiNumber { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
71
ZR.Model/MES/qc/QcBackEndBaseDefect.cs
Normal file
71
ZR.Model/MES/qc/QcBackEndBaseDefect.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 质量后道基础缺陷项
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_base_defect")]
|
||||
public class QcBackEndBaseDefect
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组
|
||||
/// </summary>
|
||||
public string Group { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
66
ZR.Model/MES/qc/QcBackEndBaseGroup.cs
Normal file
66
ZR.Model/MES/qc/QcBackEndBaseGroup.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道班组
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_base_group")]
|
||||
public class QcBackEndBaseGroup
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
76
ZR.Model/MES/qc/QcBackEndBaseLabelAnalysis.cs
Normal file
76
ZR.Model/MES/qc/QcBackEndBaseLabelAnalysis.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道基础标签解析
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_base_label_analysis")]
|
||||
public class QcBackEndBaseLabelAnalysis
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表达式
|
||||
/// </summary>
|
||||
public string Expression { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优先级
|
||||
/// </summary>
|
||||
public int? Sort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
66
ZR.Model/MES/qc/QcBackEndBaseSite.cs
Normal file
66
ZR.Model/MES/qc/QcBackEndBaseSite.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道基础站点
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_base_site")]
|
||||
public class QcBackEndBaseSite
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
66
ZR.Model/MES/qc/QcBackEndLogWorkorder.cs
Normal file
66
ZR.Model/MES/qc/QcBackEndLogWorkorder.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道工单操作日志
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_log_workorder")]
|
||||
public class QcBackEndLogWorkorder
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志内容
|
||||
/// </summary>
|
||||
public string Content { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
108
ZR.Model/MES/qc/QcBackEndRecordLabelScan.cs
Normal file
108
ZR.Model/MES/qc/QcBackEndRecordLabelScan.cs
Normal file
@@ -0,0 +1,108 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道扫码标签记录
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_record_label_scan")]
|
||||
public class QcBackEndRecordLabelScan
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "work_order")]
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "part_number")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 班组
|
||||
/// </summary>
|
||||
public string Team { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站点号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "site_no")]
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 串口号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "com_no")]
|
||||
public string ComNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签内容
|
||||
/// </summary>
|
||||
public string Label { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签类别(1-外箱标签 2-内标签)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "label_type")]
|
||||
public int? LabelType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签流水号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "label_sort")]
|
||||
public int? LabelSort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扫码时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "scan_time")]
|
||||
public string ScanTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
115
ZR.Model/MES/qc/QcBackEndRecordWorkorderDefect.cs
Normal file
115
ZR.Model/MES/qc/QcBackEndRecordWorkorderDefect.cs
Normal file
@@ -0,0 +1,115 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道工单缺陷项记录
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_record_workorder_defect")]
|
||||
public class QcBackEndRecordWorkorderDefect
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "work_order")]
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "part_number")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 班组
|
||||
/// </summary>
|
||||
public string Team { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站点号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "site_no")]
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 串口号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "com_no")]
|
||||
public string ComNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 缺陷编号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "defect_code")]
|
||||
public string DefectCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 缺陷名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "defect_name")]
|
||||
public string DefectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 缺陷类别
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "defect_type")]
|
||||
public string DefectType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 缺陷数量
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "defect_num")]
|
||||
public int? DefectNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后点击时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "click_time")]
|
||||
public string ClickTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
195
ZR.Model/MES/qc/QcBackEndServiceStatistics.cs
Normal file
195
ZR.Model/MES/qc/QcBackEndServiceStatistics.cs
Normal file
@@ -0,0 +1,195 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道统计报表业务模块
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_service_statistics")]
|
||||
public class QcBackEndServiceStatistics
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "work_order")]
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "part_number")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件描述
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 规格
|
||||
/// </summary>
|
||||
public string Specification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 颜色
|
||||
/// </summary>
|
||||
public string Color { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 班组
|
||||
/// </summary>
|
||||
public string Team { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站点号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "site_no")]
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 串口号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "com_no")]
|
||||
public string ComNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否一次合格
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_onetime")]
|
||||
public int? IsOnetime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否返工件
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_back")]
|
||||
public int? IsBack { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否抛光件
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_polish")]
|
||||
public int? IsPolish { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否外部件
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_out")]
|
||||
public int? IsOut { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "start_time")]
|
||||
public DateTime? StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "end_time")]
|
||||
public DateTime? EndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 箱标签记录
|
||||
/// </summary>
|
||||
public string Label { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 投入数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "require_number")]
|
||||
public int? RequireNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 合格数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "qualified_number")]
|
||||
public int? QualifiedNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 合格率
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "qualified_rate")]
|
||||
public string QualifiedRate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 抛光数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "polish_number")]
|
||||
public int? PolishNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 打磨数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "damo_number")]
|
||||
public int? DamoNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报废数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "baofei_number")]
|
||||
public int? BaofeiNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同组标识
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "group_code")]
|
||||
public string GroupCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同组顺序
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "group_sort")]
|
||||
public int? GroupSort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同组缺陷记录
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "group_defect_json")]
|
||||
public string GroupDefectJson { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
177
ZR.Model/MES/qc/QcBackEndServiceWorkorder.cs
Normal file
177
ZR.Model/MES/qc/QcBackEndServiceWorkorder.cs
Normal file
@@ -0,0 +1,177 @@
|
||||
|
||||
namespace ZR.Model.Business
|
||||
{
|
||||
/// <summary>
|
||||
/// 后道工单业务模块
|
||||
/// </summary>
|
||||
[SugarTable("qc_backend_service_workorder")]
|
||||
public class QcBackEndServiceWorkorder
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "work_order")]
|
||||
public string WorkOrder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "serial_number")]
|
||||
public int SerialNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "part_number")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零件描述
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 规格
|
||||
/// </summary>
|
||||
public string Specification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 颜色
|
||||
/// </summary>
|
||||
public string Color { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 班组
|
||||
/// </summary>
|
||||
public string Team { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站点号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "site_no")]
|
||||
public string SiteNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 串口号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "com_no")]
|
||||
public string ComNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否一次合格
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_onetime")]
|
||||
public int? IsOnetime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否返工件
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_back")]
|
||||
public int? IsBack { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否抛光件
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_polish")]
|
||||
public int? IsPolish { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否外部件
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_out")]
|
||||
public int? IsOut { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "start_time")]
|
||||
public DateTime? StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "end_time")]
|
||||
public DateTime? EndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 箱标签记录
|
||||
/// </summary>
|
||||
public string Label { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 投入数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "require_number")]
|
||||
public int? RequireNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 合格数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "qualified_number")]
|
||||
public int? QualifiedNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 抛光数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "polish_number")]
|
||||
public int? PolishNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 打磨数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "damo_number")]
|
||||
public int? DamoNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报废数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "baofei_number")]
|
||||
public int? BaofeiNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统类别
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user