using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; namespace WIDESEA_DTO.Basic { [ModelValidate] public class Supplier { /// /// /// public string From { get; set; } /// /// /// public string DateTime { get; set; } /// /// /// [PropertyValidate("物料列表", NotNullAndEmpty = true)] public SupplierDTO Content { get; set; } } [ModelValidate] public class SupplierDTO { public string Code { get; set; } public string Name { get; set; } public string ShortName { get; set; } public string Contacts { get; set; } public string ContactNumber { get; set; } public string ContactAddress { get; set; } public string Email { get; set; } public string Description { get; set; } public int State { get; set; } public string InvOrgId { get; set; } public string OperateType { get; set; } } }