Browse Source

更正采购订单主表DTO

master
xu.ding 3 years ago
parent
commit
5e4efe7a4c
  1. 88
      ScpWebApiService/src/Win_in.Sfs.Scp.WebApi.Application.Contracts/POs/POCreateOrUpdateDTOBase.cs
  2. 85
      ScpWebApiService/src/Win_in.Sfs.Scp.WebApi.Application.Contracts/POs/PODTO.cs

88
ScpWebApiService/src/Win_in.Sfs.Scp.WebApi.Application.Contracts/POs/POCreateOrUpdateDTOBase.cs

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

85
ScpWebApiService/src/Win_in.Sfs.Scp.WebApi.Application.Contracts/POs/PODTO.cs

@ -13,88 +13,82 @@ namespace Win_in.Sfs.Scp.WebApi.POs
{ {
/// <summary> /// <summary>
/// 代码(Code) /// 订单号(PoNumber)
/// </summary> /// </summary>
[Display(Name = "代码(Code)")] [Display(Name = "订单号(PoNumber)")]
public string Code { set; get; } public string PoNumber { set; get; }
/// <summary> /// <summary>
/// 简称(Name) /// 供应商代码(SupplierCode)
/// </summary> /// </summary>
[Display(Name = "简称(Name)")] [Display(Name = "供应商代码(SupplierCode)")]
public string Name { set; get; } public string SupplierCode { set; get; }
/// <summary> /// <summary>
/// 描述(Description) /// 订单类型(PoType)
/// </summary> /// </summary>
[Display(Name = "描述(Description)")] [Display(Name = "订单类型(PoType)")]
public string Desc { set; get; } public string PoType { set; get; }
/// <summary> /// <summary>
/// 级别(Rank) /// 订单状态(Status)
/// </summary> /// </summary>
[Display(Name = "级别(Rank)")] [Display(Name = "订单状态(Status)")]
public string Rank { get; set; } public int Status { set; get; }
/// <summary> /// <summary>
/// 地址 /// 是否寄存订单(IsConsignment)
/// </summary> /// </summary>
[Display(Name = "地址(Address)")] [Display(Name = "是否寄存订单(IsConsignment)")]
public string Address { get; set; } public bool IsConsignment { set; get; }
/// <summary> /// <summary>
/// 国家(Country) /// 订单日期(OrderDate)
/// </summary> /// </summary>
[Display(Name = "国家(Country)")] [Display(Name = "订单日期(OrderDate)")]
public string Country { get; set; } public DateTime OrderDate { set; get; }
/// <summary> /// <summary>
/// 城市(City) /// 截止日期(DueDate)
/// </summary> /// </summary>
[Display(Name = "城市(City)")] [Display(Name = "截止日期(DueDate)")]
public string City { get; set; } public DateTime DueDate { set; get; }
/// <summary> /// <summary>
/// 电话(Phone) /// 版本(Version)
/// </summary> /// </summary>
[Display(Name = "电话(Phone)")] [Display(Name = "版本(Version)")]
public string Phone { set; get; } public string Version { set; get; }
/// <summary> /// <summary>
/// 传真(Fax) /// 税率(TaxRate)
/// </summary> /// </summary>
[Display(Name = "传真(Fax)")] [Display(Name = "税率(TaxRate)")]
public string Fax { set; get; } public decimal TaxRate { set; get; }
/// <summary> /// <summary>
/// 邮编(PostId) /// 地点(Site)
/// </summary> /// </summary>
[Display(Name = "邮编(PostId)")] [Display(Name = "地点(Site)")]
public string PostId { set; get; } public string Site { set; get; }
/// <summary> /// <summary>
/// 联系人(ContactName) /// 公司(Company)
/// </summary>
[Display(Name = "联系人(ContactName)")]
public string ContactName { set; get; }
/// <summary>
/// 货币(Currency)
/// </summary> /// </summary>
[Display(Name = "货币(Currency)")] [Display(Name = "公司(Company)")]
public string Currency { set; get; } public string Company { set; get; }
/// <summary> /// <summary>
/// 是否激活(IsActive) /// 联系人(ContactName)
/// </summary> /// </summary>
[Display(Name = "是否激活(IsActive)")] [Display(Name = "联系人(ContactName)")]
public bool IsActive { set; get; } public string ContactName { set; get; }
/// <summary> /// <summary>
/// 公司(Company) /// 联系电话(ContactPhone)
/// </summary> /// </summary>
[Display(Name = "公司(Company)")] [Display(Name = "联系电话(ContactPhone)")]
public string Company { set; get; } public string ContactPhone { set; get; }
/// <summary> /// <summary>
/// 备注(Remark) /// 备注(Remark)
@ -102,6 +96,7 @@ namespace Win_in.Sfs.Scp.WebApi.POs
[Display(Name = "备注(Remark)")] [Display(Name = "备注(Remark)")]
public string Remark { set; get; } public string Remark { set; get; }
public virtual ICollection<PODetailDTO> Details { get; set; } public virtual ICollection<PODetailDTO> Details { get; set; }
} }
} }
Loading…
Cancel
Save