|
|
@ -1,4 +1,5 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
using Win_in.Sfs.Scp.WebApi.Domain.Shared; |
|
|
@ -11,93 +12,90 @@ namespace Win_in.Sfs.Scp.WebApi.POs |
|
|
|
public abstract class POCreateOrUpdateDTOBase : EntityDtoBase<Guid> |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 代码(Code)
|
|
|
|
/// 订单号(PoNumber)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "代码(Code)")] |
|
|
|
public string Code { set; get; } |
|
|
|
[Display(Name = "订单号(PoNumber)")] |
|
|
|
public string PoNumber { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 简称(Name)
|
|
|
|
/// 供应商代码(SupplierCode)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "简称(Name)")] |
|
|
|
public string Name { set; get; } |
|
|
|
[Display(Name = "供应商代码(SupplierCode)")] |
|
|
|
public string SupplierCode { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 描述(Description)
|
|
|
|
/// 订单类型(PoType)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "描述(Description)")] |
|
|
|
public string Desc { set; get; } |
|
|
|
[Display(Name = "订单类型(PoType)")] |
|
|
|
public string PoType { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 级别(Rank)
|
|
|
|
/// 订单状态(Status)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "级别(Rank)")] |
|
|
|
public string Rank { get; set; } |
|
|
|
[Display(Name = "订单状态(Status)")] |
|
|
|
public int Status { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 地址
|
|
|
|
/// 是否寄存订单(IsConsignment)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "地址(Address)")] |
|
|
|
public string Address { get; set; } |
|
|
|
[Display(Name = "是否寄存订单(IsConsignment)")] |
|
|
|
public bool IsConsignment { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 国家(Country)
|
|
|
|
/// 订单日期(OrderDate)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "国家(Country)")] |
|
|
|
public string Country { get; set; } |
|
|
|
[Display(Name = "订单日期(OrderDate)")] |
|
|
|
public DateTime OrderDate { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 城市(City)
|
|
|
|
/// 截止日期(DueDate)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "城市(City)")] |
|
|
|
public string City { get; set; } |
|
|
|
[Display(Name = "截止日期(DueDate)")] |
|
|
|
public DateTime DueDate { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 电话(Phone)
|
|
|
|
/// 版本(Version)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "电话(Phone)")] |
|
|
|
public string Phone { set; get; } |
|
|
|
[Display(Name = "版本(Version)")] |
|
|
|
public string Version { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 传真(Fax)
|
|
|
|
/// 税率(TaxRate)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "传真(Fax)")] |
|
|
|
public string Fax { set; get; } |
|
|
|
[Display(Name = "税率(TaxRate)")] |
|
|
|
public decimal TaxRate { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 邮编(PostId)
|
|
|
|
/// 地点(Site)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "邮编(PostId)")] |
|
|
|
public string PostId { set; get; } |
|
|
|
[Display(Name = "地点(Site)")] |
|
|
|
public string Site { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 联系人(ContactName)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "联系人(ContactName)")] |
|
|
|
public string ContactName { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 货币(Currency)
|
|
|
|
/// 公司(Company)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "货币(Currency)")] |
|
|
|
public string Currency { set; get; } |
|
|
|
[Display(Name = "公司(Company)")] |
|
|
|
public string Company { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否激活(IsActive)
|
|
|
|
/// 联系人(ContactName)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "是否激活(IsActive)")] |
|
|
|
public bool IsActive { set; get; } |
|
|
|
[Display(Name = "联系人(ContactName)")] |
|
|
|
public string ContactName { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 公司(Company)
|
|
|
|
/// 联系电话(ContactPhone)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "公司(Company)")] |
|
|
|
public string Company { set; get; } |
|
|
|
[Display(Name = "联系电话(ContactPhone)")] |
|
|
|
public string ContactPhone { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 备注(Remark)
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "备注(Remark)")] |
|
|
|
public string Remark { set; get; } |
|
|
|
|
|
|
|
|
|
|
|
public virtual ICollection<PODetailDTO> Details { get; set; } |
|
|
|
} |
|
|
|
} |