|
@@ -50,20 +50,31 @@ public class AdoS0QmsRawWhitelistUpsertDto : IValidatableObject
|
|
|
public class AdoS0QmsSamplingSchemeUpsertDto
|
|
public class AdoS0QmsSamplingSchemeUpsertDto
|
|
|
{
|
|
{
|
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Number { get; set; } = string.Empty;
|
|
public string Number { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? SamplingType { get; set; }
|
|
public string? SamplingType { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? InspectionLevel { get; set; }
|
|
public string? InspectionLevel { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Strictness { get; set; }
|
|
public string? Strictness { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? AqlValue { get; set; }
|
|
public string? AqlValue { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? InspectionType { get; set; }
|
|
public string? InspectionType { get; set; }
|
|
|
public long? InspectOrgId { get; set; }
|
|
public long? InspectOrgId { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? InspectUserId { get; set; }
|
|
public string? InspectUserId { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Status { get; set; }
|
|
public string? Status { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? EnableStatus { get; set; }
|
|
public string? EnableStatus { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Comment { get; set; }
|
|
public string? Comment { get; set; }
|
|
|
public decimal? FixedSamplingRate { get; set; }
|
|
public decimal? FixedSamplingRate { get; set; }
|
|
|
}
|
|
}
|
|
@@ -71,81 +82,114 @@ public class AdoS0QmsSamplingSchemeUpsertDto
|
|
|
public class AdoS0QmsInspectionInstrumentUpsertDto
|
|
public class AdoS0QmsInspectionInstrumentUpsertDto
|
|
|
{
|
|
{
|
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Number { get; set; } = string.Empty;
|
|
public string Number { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Model { get; set; }
|
|
public string? Model { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Specification { get; set; }
|
|
public string? Specification { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Manufacturer { get; set; }
|
|
public string? Manufacturer { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Status { get; set; }
|
|
public string? Status { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? EnableStatus { get; set; }
|
|
public string? EnableStatus { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Comment { get; set; }
|
|
public string? Comment { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? GaugeCategory { get; set; }
|
|
public string? GaugeCategory { get; set; }
|
|
|
public int? CalibrationCycleDays { get; set; }
|
|
public int? CalibrationCycleDays { get; set; }
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? NextCalibrationDate { get; set; }
|
|
public string? NextCalibrationDate { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public class AdoS0QmsQualityBaseTypeUpsertDto
|
|
public class AdoS0QmsQualityBaseTypeUpsertDto
|
|
|
{
|
|
{
|
|
|
[Required(ErrorMessage = "类型分类不能为空")]
|
|
[Required(ErrorMessage = "类型分类不能为空")]
|
|
|
|
|
+ [MaxLength(100)]
|
|
|
public string TypeCategory { get; set; } = string.Empty;
|
|
public string TypeCategory { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "类型编码不能为空")]
|
|
[Required(ErrorMessage = "类型编码不能为空")]
|
|
|
|
|
+ [MaxLength(100)]
|
|
|
public string TypeCode { get; set; } = string.Empty;
|
|
public string TypeCode { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "简称不能为空")]
|
|
[Required(ErrorMessage = "简称不能为空")]
|
|
|
|
|
+ [MaxLength(200)]
|
|
|
public string ShortName { get; set; } = string.Empty;
|
|
public string ShortName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? FullName { get; set; }
|
|
public string? FullName { get; set; }
|
|
|
public bool IsActive { get; set; } = true;
|
|
public bool IsActive { get; set; } = true;
|
|
|
|
|
+ [MaxLength(500)]
|
|
|
public string? Remark { get; set; }
|
|
public string? Remark { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public class AdoS0QmsInspectionMethodUpsertDto
|
|
public class AdoS0QmsInspectionMethodUpsertDto
|
|
|
{
|
|
{
|
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Number { get; set; } = string.Empty;
|
|
public string Number { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? ControlStrategy { get; set; }
|
|
public string? ControlStrategy { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Status { get; set; }
|
|
public string? Status { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? EnableStatus { get; set; }
|
|
public string? EnableStatus { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Comment { get; set; }
|
|
public string? Comment { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public class AdoS0QmsInspectionItemUpsertDto
|
|
public class AdoS0QmsInspectionItemUpsertDto
|
|
|
{
|
|
{
|
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Number { get; set; } = string.Empty;
|
|
public string Number { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
public long? CheckMethodId { get; set; }
|
|
public long? CheckMethodId { get; set; }
|
|
|
public long? CheckBasisId { get; set; }
|
|
public long? CheckBasisId { get; set; }
|
|
|
public long? CheckInstructId { get; set; }
|
|
public long? CheckInstructId { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? RadioGroupField { get; set; }
|
|
public string? RadioGroupField { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? RadioGroupField1 { get; set; }
|
|
public string? RadioGroupField1 { get; set; }
|
|
|
public long? MetricType { get; set; }
|
|
public long? MetricType { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Status { get; set; }
|
|
public string? Status { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? EnableStatus { get; set; }
|
|
public string? EnableStatus { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Comment { get; set; }
|
|
public string? Comment { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public class AdoS0QmsInspectionFrequencyUpsertDto
|
|
public class AdoS0QmsInspectionFrequencyUpsertDto
|
|
|
{
|
|
{
|
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
[Required(ErrorMessage = "编号不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Number { get; set; } = string.Empty;
|
|
public string Number { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
[Required(ErrorMessage = "名称不能为空")]
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Remark { get; set; }
|
|
public string? Remark { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Status { get; set; }
|
|
public string? Status { get; set; }
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? EnableStatus { get; set; }
|
|
public string? EnableStatus { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|