Files
8357WMS/HHWMS.Web/Models/Receipt/ReceiptDetailHistory.cs
T
zgf 1365920fee 新增明细 加判断条件
计数页面修改
散料入新增条件
出库单据接口 修改判断条件
2023-11-24 15:39:45 +08:00

85 lines
3.5 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using WalkingTec.Mvvm.Core;
namespace HHWMS.Web.Models
{
[Table("ReceiptDetailHistory")]
public class ReceiptDetailHistory : BasePoco
{
[Key]
public new int ID { get; set; }
[Display(Name = "Inventory.ReceiptCode")]
public int ReceiptHeaderHistoryId { get; set; }
public ReceiptHeaderHistory ReceiptHeaderHistory { get; set; }
[Display(Name = "Task.ZoneCode", Description = "库区")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string ZoneCode { get; set; }
[Display(Name = "Inventory.MaterialCode", Description = "物料编码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialCode { get; set; }
[Display(Name = "Inventory.UniqueCode", Description = "唯一编码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string UniqueCode { get; set; }
[Display(Name = "Inventory.MaterialType", Description = "物料类型")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialType { get; set; }
[Display(Name = "Inventory.MaterialName", Description = "物料名称")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialName { get; set; }
[Display(Name = "Inventory.MaterialSpec", Description = "物料规格")]
public string MaterialSpec { get; set; }
[Display(Name = "Inventory.MaterialUnit", Description = "单位")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialUnit { get; set; }
[Display(Name = "Inventory.Batch", Description = "批次")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string Batch { get; set; }
[Display(Name = "Inventory.Lot", Description = "料号")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string Lot { get; set; }
[Display(Name = "Inventory.ManufactureDate", Description = "生产日期")]
public DateTime? ManufactureDate { get; set; }
[Display(Name = "Inventory.ExpirationDate", Description = "失效日期")]
public DateTime? ExpirationDate { get; set; }
[Display(Name = "Inventory.CompanyCode", Description = "公司")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string CompanyCode { get; set; }
[Display(Name = "Inventory.SupplierCode", Description = "供应商")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string SupplierCode { get; set; }
[Display(Name = "Receipt.CompletedQty", Description = "完成数量")]
[Column(TypeName = "decimal(12,4)")]
public decimal? CompletedQty { get; set; } = Decimal.Zero;
[Display(Name = "Inventory.Qty", Description = "数量")]
[Column(TypeName = "decimal(12,4)")]
public decimal? Qty { get; set; } = Decimal.Zero;
[Display(Name = "Inventory.Status", Description = "物料状态")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string InventoryStatus { get; set; }
[Display(Name = "Receipt.Status", Description = "状态")]
public ReceiptStatusEnum? Status { get; set; }
}
}