using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Bro.M071.Model.Model
{
///
/// 检测结果
///
public class MeasurementUnitResult : BaseModel
{
///
/// 产品测量记录Id
///
[StringLength(64)]
public string ProductionMeasurementRecordsId { get; set; }
///
/// 检测名称
///
[StringLength(64)]
public string MeasurementName { get; set; }
///
/// 检测结果类型 (Slant Alignment... )
///
[StringLength(64)]
public string MeasurementType { get; set; }
///
/// 检测结果值
///
[StringLength(64)]
public string MeasurementValue { get; set; }
///
/// 检测结果 ok ng
///
[StringLength(64)]
public string MeasurementResult { get; set; }
}
public class MeasurementUnitResultRequest : BaseRequest
{
///
/// 产品编码
///
public string ProductionCode { get; set; }
///
/// 产品条码
///
public string ProductionBarcode { get; set; }
///
/// 检测名称
///
public string MeasurementName { get; set; }
///
/// 检测和标准类型
///
public string MeasurementType { get; set; }
///
/// 检测结果 ok ng
///
public string MeasurementResult { get; set; }
}
public class MeasurementUnitResult_DTO : MeasurementUnitResult
{
//产品相关
///
/// 产品编码
///
public string ProductionCode { get; set; }
///
/// 产品条码
///
public string ProductionBarcode { get; set; }
}
public class ProductionMeasurementUnitResultAndKeyUnitDataSet
{
public ProductionMeasurementRecords ProductionMeasurementRecord { get; set; }
///
/// 关系数据
///
public List MeasurementAndKeyDataRelationList{ get; set; }
///
/// 检测结果
///
public List MeasurementUnitResultList { get; set; }
///
/// 原始数据
///
public List KeyUnitDataList { get; set; }
public ProductionMeasurementUnitResultAndKeyUnitDataSet()
{
ProductionMeasurementRecord = new ProductionMeasurementRecords();
MeasurementUnitResultList = new List();
KeyUnitDataList = new List();
}
}
}