| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- namespace Admin.NET.Plugin.AiDOP.Dto.S0.Supply;
- /// <summary>供应商主数据启停(SuppMaster / IsActive)</summary>
- public class AdoS0SuppMasterToggleActiveDto
- {
- public bool IsActive { get; set; }
- }
- public class AdoS0SuppMasterQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- /// <summary>同时匹配供应商编码、简称</summary>
- public string? Keyword { get; set; }
- public string? Supp { get; set; }
- public string? SortName { get; set; }
- public string? CrTerms { get; set; }
- public string? Curr { get; set; }
- public string? Type { get; set; }
- public bool? TaxIn { get; set; }
- public string? TaxClass { get; set; }
- public string? PurContact { get; set; }
- public bool? IsActive { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0SuppMasterUpsertDto
- {
- [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
- public long CompanyRefId { get; set; }
- [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
- public long FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- [Required(ErrorMessage = "供应商编码不能为空")]
- public string Supp { get; set; } = string.Empty;
- public string? SortName { get; set; }
- public string? PurContact { get; set; }
- public string? CrTerms { get; set; }
- public string? Curr { get; set; }
- public string? Type { get; set; }
- public bool TaxIn { get; set; } = true;
- public string? TaxClass { get; set; }
- public int? APStartDay1 { get; set; }
- public int? APEndDay1 { get; set; }
- public int? APStartDay2 { get; set; }
- public int? APEndDay2 { get; set; }
- public string? Remark { get; set; }
- public bool IsActive { get; set; } = true;
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
- public class AdoS0SrmPurchaseQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- /// <summary>物料编码 / 名称关键字</summary>
- public string? Keyword { get; set; }
- public string? SupplierType { get; set; }
- public bool? IsActive { get; set; }
- public string? SupplierName { get; set; }
- public string? SupplierNumber { get; set; }
- public string? CurrencyType { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0SrmPurchaseUpsertDto
- {
- [Range(1, long.MaxValue, ErrorMessage = "公司不能为空")]
- public long CompanyRefId { get; set; }
- [Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
- public long FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- [Range(1, long.MaxValue, ErrorMessage = "物料不能为空")]
- public long IcitemId { get; set; }
- public string? IcitemName { get; set; }
- public string? SupplierType { get; set; }
- public bool IsActive { get; set; } = true;
- [Range(1, long.MaxValue, ErrorMessage = "供应商不能为空")]
- public long SupplierId { get; set; }
- public string? SupplierName { get; set; }
- public string? SupplierNumber { get; set; }
- public decimal? OrderPrice { get; set; }
- public string? CurrencyType { get; set; }
- public decimal? Taxrate { get; set; }
- public decimal? Tariff { get; set; }
- public decimal? Freight { get; set; }
- public string? PriceTerms { get; set; }
- public DateTime? EffectiveDate { get; set; }
- public DateTime? ExpiringDate { get; set; }
- public decimal? QuotaRate { get; set; }
- public int? LeadTime { get; set; }
- public decimal? QtyMin { get; set; }
- public decimal? PackagingQty { get; set; }
- public string? OrderRectorName { get; set; }
- public string? OrderRectorNum { get; set; }
- public bool IsRequireGoods { get; set; }
- public string? CreateUser { get; set; }
- public string? UpdateUser { get; set; }
- }
|