using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore.Metadata.Internal; using WalkingTec.Mvvm.Core; namespace HHWMS.Web.Models { [Table("ShipmentHeaderHistory")] public class ShipmentHeaderHistory : BasePoco { [Key] public new int ID { get; set; } [Display(Name = "Inventory.SourceCode", Description = "上游单号")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string SourceCode { get; set; } [Display(Name = "Inventory.ShipCode", Description = "出库单号")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string Code { get; set; } [Display(Name = "Inventory.BillType", Description = "单据类型")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string BillType { 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.TotalQty", Description = "总数量")] [Column(TypeName = "decimal(12,4)")] public decimal? TotalQty { get; set; } [Display(Name = "Receipt.TotalLines", Description = "总行数")] [Column(TypeName = "decimal(12,4)")] public int? TotalLines { get; set; } [Display(Name = "Receipt.FirstStatus", Description = "首状态")] public ShipStatusEnum? FirstStatus { get; set; } [Display(Name = "Receipt.LastStatus", Description = "尾状态")] public ShipStatusEnum? LastStatus { get; set; } [Display(Name = "_Admin.Remark", Description = "备注")] public string Remark { get; set; } } }