// 闻荫智慧工厂管理套件
// Copyright (c) 闻荫科技 www.ccwin-in.com
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
using Win.Sfs.Shared.DomainBase;
using Win.Sfs.Shared.Enums;
namespace Win.Sfs.Shared.DtoBase
{
///
/// Full audited entity DTO base
///
/// TKey
public abstract class InventoryAuditedEntityDtoBase : AuditedEntityDto, IRemark
{
///
/// 备注
///
[Display(Name = "备注")]
public string Remark { get; set; }
///
/// 看板编号
///
[Display(Name = "看板编号")]
public string KanbanNumber { set; get; }
///
/// 订单编号
///
[Display(Name = "订单编号")]
public string PurchaseNumber { get; set; }
///
/// 供应商编码
///
[Display(Name = "供应商编码")]
public string SupplierCode { get; set; }
///
/// 订单类型
///
[Display(Name = "订单类型")]
public int OrderType { set; get; }
///
/// 收货仓库编码
///
[Display(Name = "收货仓库编码")]
public string ReceiptWhseCode { set; get; }
///
/// 收货口编码
///
[Display(Name = "收货口编码")]
public string ReceiptPortCode { set; get; }
///
/// 发货日期
///
[Display(Name = "发货日期")]
public DateTime ShipDate { set; get; }
///
/// 发货人
///
[Display(Name = "发货人")]
public string ShipUser { set; get; }
///
/// 单据流水号
///
[Display(Name = "单据流水号")]
public string DocumentNumber { get; set; }
///
/// 单据类型
///
[Display(Name = "单据类型")]
[Required(ErrorMessage = "{0}是必填项")]
public EnumDocumentType DocumentType { get; set; }
///
/// 状态
///
[Display(Name = "状态")]
[Required(ErrorMessage = "{0}是必填项")]
public EnumDocumentStatus DocumentStatus { get; set; }
///
/// 历史单据信息
///
[Display(Name = "历史单据信息")]
public List UpstreamDocumentDataBases { get; set; }
}
}