|
|
using NPOI.SS.Formula.Functions;
|
|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Admin.Core.Model
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 质检记录
|
|
|
/// </summary>
|
|
|
[SugarTable("REPORT_QUALITY_INSPECTION", "AUCMA_MES")]
|
|
|
public class ReportQualityInsPection
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_REPORT_QUALITY_INSPECTION")]
|
|
|
public int ObjId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱体条码
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "BAR_CODE")]
|
|
|
public string BarCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 物料名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "MATERIAL_NAME", ColumnDataType = "NVARCHAR(128)")]
|
|
|
public string MaterialName { get; set; }
|
|
|
/// <summary>
|
|
|
/// 工序编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "PROCESS_CODE")]
|
|
|
public string ProcessCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 检测项(工位)编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "TEST_ITEM_CODE")]
|
|
|
public string TestItemCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 质量缺陷编码
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "QUALITY_DEFECT_CODE")]
|
|
|
public string QualityDefectCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 质量缺陷名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "QUALITY_DEFECT_NAME")]
|
|
|
public string QualityDefectName { get; set; }
|
|
|
/// <summary>
|
|
|
/// 质检处理措施(3=合格,1=返修)
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "TREATMENT_MEASURE")]
|
|
|
public string TreatmentMeasure { get; set; }
|
|
|
/// <summary>
|
|
|
/// 返修处理结果
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "PROCESS_RESULT")]
|
|
|
public string ProcessResult { get; set; }
|
|
|
/// <summary>
|
|
|
/// 是否下静态线(1-是;2-否)
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "IS_LOWER_LINE")]
|
|
|
public string IsLowerLine { get; set; }
|
|
|
/// <summary>
|
|
|
/// 班组编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "GROUP_CODE")]
|
|
|
public string GroupCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 检测人员
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "INSPECTOR_CODE")]
|
|
|
public string InspectorCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 检测时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "INSPECTOR_TIME")]
|
|
|
public DateTime InspectorTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 返修次数
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "REWORK_NUMBER")]
|
|
|
public int ReworkNumber { get; set; }
|
|
|
/// <summary>
|
|
|
/// 返修完成时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "FINISH_TIME")]
|
|
|
public DateTime? FinishTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 返修结果(1=正常,2=异常)
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "IS_FLAG")]
|
|
|
public int IsFlag { get; set; }
|
|
|
/// <summary>
|
|
|
/// 更新人
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "UPDATED_BY")]
|
|
|
public string UpdatedBy { get; set; }
|
|
|
/// <summary>
|
|
|
/// 更新时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 检测人工位编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "STATION_CODE")]
|
|
|
public string StationCode { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|