using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.Attributes;
|
|
namespace WIDESEA_DTO.ERP
|
{
|
[ModelValidate()]
|
public class MaterielInfoDTO
|
{
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string Code { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string Name { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string StandType { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string ItemType { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string Type { get; set; }
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string ItemSourceType { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string Unit { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string MaterialVersion { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public int Size { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public float Length { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public float Thickness { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public float Wide { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string Model { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string Color { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string MaterialTG { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string Spare1 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string Spare2 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string Spare3 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string Spare4 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string Spare5 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string State { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public string InvOrgId { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = false)]
|
public string OperateType { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = false)]
|
public string UserDef01 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = false)]
|
public string UserDef04 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[PropertyValidate("", NotNullAndEmpty = true)]
|
public int IsCheck { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public string WaId { get; set; }
|
}
|
}
|