99 lines
3.2 KiB
C#
99 lines
3.2 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace RIZO.Model.Mes.Dto.Material
|
||
{
|
||
/// <summary>
|
||
/// 物料导入模板实体(与Excel列名对应)
|
||
/// </summary>
|
||
public class MaterialInfoImport
|
||
{
|
||
/// <summary>
|
||
/// 物料编码(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "物料编码不能为空")]
|
||
[ExcelColumnName("物料编码")]
|
||
public string MaterialCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 物料名称(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "物料名称不能为空")]
|
||
[ExcelColumnName("物料名称")]
|
||
public string MaterialName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 物料型号(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "物料型号不能为空")]
|
||
[ExcelColumnName("物料型号")]
|
||
public string MaterialModel { get; set; }
|
||
|
||
/// <summary>
|
||
/// 物料类别(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "物料类别不能为空")]
|
||
[ExcelColumnName("物料类别")]
|
||
public string MaterialType { get; set; }
|
||
|
||
/// <summary>
|
||
/// 参数(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "参数能为空")]
|
||
[ExcelColumnName("参数")]
|
||
public string Parameter { get; set; }
|
||
|
||
/// <summary>
|
||
/// 品牌(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "品牌")]
|
||
[ExcelColumnName("品牌")]
|
||
public string Brand { get; set; }
|
||
|
||
/// <summary>
|
||
/// 供货商(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "供货商不能为空")]
|
||
[ExcelColumnName("供货商")]
|
||
public string Supplier { get; set; }
|
||
|
||
/// <summary>
|
||
/// 设备标识符(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "设备标识符不能为空")]
|
||
[ExcelColumnName("设备标识符")]
|
||
public string DeviceId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 特点(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "特点不能为空")]
|
||
[ExcelColumnName("特点")]
|
||
public string Feature { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备注(Excel列名需匹配)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "备注不能为空")]
|
||
[ExcelColumnName("备注名称")]
|
||
public string Remark { get; set; }
|
||
|
||
/// <summary>
|
||
/// 工艺编码(Excel列名需匹配,关联工艺表)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "工艺编码不能为空")]
|
||
[ExcelColumnName("工艺编码")]
|
||
public string ProcessCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 工艺名称(Excel列名需匹配,关联工艺表)
|
||
/// </summary>
|
||
[Required(ErrorMessage = "工艺名称不能为空")]
|
||
[ExcelColumnName("工艺名称")]
|
||
public string ProcessName { get; set; }
|
||
}
|
||
}
|