using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Dto
{
///
///
///
public class AddProductInspectionContentGrpInput
{
///
/// 客户标识
///
[Required, Range(1, long.MaxValue, ErrorMessage = "CorpID 必须大于0")]
public long CorpID { get; set; }
///
/// 设备标识
///
[Required, Range(1, long.MaxValue, ErrorMessage = "ProductID 必须大于0")]
public long ProductID { get; set; }
///
/// 名称
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Name { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 添加人ID
///
[Required, Range(1, long.MaxValue, ErrorMessage = "CreateUserID 必须大于0")]
public long CreateUserID { get; set; }
}
}