You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
363 lines
9.0 KiB
C#
363 lines
9.0 KiB
C#
using Estsh.Core.Base;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Estsh.Core.Models
|
|
{
|
|
/// <summary>
|
|
/// ,数据实体对象
|
|
/// </summary>
|
|
[Table("sys_stock")]
|
|
[Serializable]
|
|
public class SysStock : BaseEntity
|
|
{
|
|
[Column("ruid")]
|
|
[DisplayName(" ")]
|
|
public int Ruid { get; set; }
|
|
|
|
[Column("vendor_id")]
|
|
[DisplayName(" ")]
|
|
public int VendorId { get; set; }
|
|
|
|
[Column("vendor_code")]
|
|
[DisplayName(" ")]
|
|
public string VendorCode { get; set; }
|
|
|
|
[Column("carton_no")]
|
|
[DisplayName("箱条码")]
|
|
public string CartonNo { get; set; }
|
|
|
|
[Column("carton_type")]
|
|
[DisplayName("箱条码类型")]
|
|
public int CartonType { get; set; }
|
|
|
|
[Column("part_id")]
|
|
[DisplayName(" ")]
|
|
public int PartId { get; set; }
|
|
|
|
[Column("part_no")]
|
|
[DisplayName(" ")]
|
|
public string PartNo { get; set; }
|
|
|
|
[Column("part_spec")]
|
|
[DisplayName(" ")]
|
|
public string PartSpec { get; set; }
|
|
|
|
[Column("lot_no")]
|
|
[DisplayName(" ")]
|
|
public string LotNo { get; set; }
|
|
|
|
[Column("fix_lot_no")]
|
|
[DisplayName(" ")]
|
|
public string FixLotNo { get; set; }
|
|
|
|
[Column("status")]
|
|
[DisplayName(" ")]
|
|
public int Status { get; set; }
|
|
|
|
[Column("qty")]
|
|
[DisplayName(" ")]
|
|
public decimal Qty { get; set; }
|
|
|
|
[Column("snp_qty")]
|
|
[DisplayName(" ")]
|
|
public decimal SnpQty { get; set; }
|
|
|
|
[Column("locate_id")]
|
|
[DisplayName(" ")]
|
|
public int? LocateId { get; set; }
|
|
|
|
[Column("locate_name")]
|
|
[DisplayName(" ")]
|
|
public string LocateName { get; set; }
|
|
|
|
[Column("group_no")]
|
|
[DisplayName(" ")]
|
|
public string GroupNo { get; set; }
|
|
|
|
[Column("erp_warehouse")]
|
|
[DisplayName(" ")]
|
|
public string ErpWarehouse { get; set; }
|
|
|
|
[Column("date_code")]
|
|
[DisplayName(" ")]
|
|
public string DateCode { get; set; }
|
|
|
|
[Column("qms_status")]
|
|
[DisplayName(" ")]
|
|
public string QmsStatus { get; set; }
|
|
|
|
[Column("ref_order_no")]
|
|
[DisplayName(" ")]
|
|
public string RefOrderNo { get; set; }
|
|
|
|
[Column("unit")]
|
|
[DisplayName(" ")]
|
|
public string Unit { get; set; }
|
|
|
|
[Column("dock")]
|
|
[DisplayName(" ")]
|
|
public string Dock { get; set; }
|
|
|
|
[Column("warehouse_id")]
|
|
[DisplayName(" ")]
|
|
public int? WarehouseId { get; set; }
|
|
|
|
[Column("warehouse_name")]
|
|
[DisplayName(" ")]
|
|
public string WarehouseName { get; set; }
|
|
|
|
[Column("zone_id")]
|
|
[DisplayName(" ")]
|
|
public int? ZoneId { get; set; }
|
|
|
|
[Column("zone_name")]
|
|
[DisplayName(" ")]
|
|
public string ZoneName { get; set; }
|
|
|
|
[Column("printed")]
|
|
[DisplayName(" ")]
|
|
public int? Printed { get; set; }
|
|
|
|
[Column("print_time")]
|
|
[DisplayName(" ")]
|
|
public DateTime? PrintTime { get; set; }
|
|
|
|
[Column("remark")]
|
|
[DisplayName(" ")]
|
|
public string Remark { get; set; }
|
|
|
|
[Column("count_qty")]
|
|
[DisplayName(" ")]
|
|
public string CountQty { get; set; }
|
|
|
|
[Column("reveice_time")]
|
|
[DisplayName(" ")]
|
|
public string ReveiceTime { get; set; }
|
|
|
|
[Column("qc_finish_time")]
|
|
[DisplayName(" ")]
|
|
public string QCfinishTime { get; set; }
|
|
|
|
[Column("tray_no")]
|
|
[DisplayName(" ")]
|
|
public string? TrayNo { get; set; }
|
|
|
|
[Column("channel_number")]
|
|
[DisplayName(" ")]
|
|
public int? ChannelNumber { get; set; }
|
|
|
|
[Column("mtoc")]
|
|
[DisplayName(" ")]
|
|
public string? Mtoc { get; set; }
|
|
|
|
[Column("mtoc_desc")]
|
|
[DisplayName(" ")]
|
|
public string? MtocDesc { get; set; }
|
|
|
|
[Column("cartype_name")]
|
|
[DisplayName(" ")]
|
|
public string? CartypeName { get; set; }
|
|
|
|
[Column("pick_up_tab")]
|
|
[DisplayName(" ")]
|
|
public string? PickUpTab { get; set; }
|
|
|
|
[Column("carton_no_customer")]
|
|
[DisplayName(" ")]
|
|
public string? CartonNoCustomer { get; set; }
|
|
|
|
#region 扩展字段
|
|
[NotMapped]
|
|
[Column("vendor_name")]
|
|
[DisplayName(" ")]
|
|
public string VendorName { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("type_name")]
|
|
[DisplayName(" ")]
|
|
public string TypeName { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("part_no1")]
|
|
[DisplayName(" ")]
|
|
public string PartNo1 { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("stock_status")]
|
|
[DisplayName(" ")]
|
|
public string StockStatus { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("stock_type")]
|
|
[DisplayName(" ")]
|
|
public string StockType { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("warehouse_desc")]
|
|
[DisplayName(" ")]
|
|
public string WarehouseDesc { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("part_type")]
|
|
[DisplayName(" ")]
|
|
public string PartType { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("uom")]
|
|
[DisplayName(" ")]
|
|
public string Uom { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("warehouse_type")]
|
|
[DisplayName(" ")]
|
|
public string WarehouseType { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("option3")]
|
|
[DisplayName(" ")]
|
|
public string Option3 { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("create_user")]
|
|
[DisplayName(" ")]
|
|
public string CreateUser { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("update_user")]
|
|
[DisplayName(" ")]
|
|
public string UpdateUser { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("part_spec2")]
|
|
[DisplayName(" ")]
|
|
public string PartSpec2 { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("se_date")]
|
|
[DisplayName(" ")]
|
|
public string SeDate { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("se_time")]
|
|
[DisplayName(" ")]
|
|
public string SeTime { get; set; }
|
|
|
|
[Column("dest_warehouse_id")]
|
|
[DisplayName(" ")]
|
|
public int? DestWarehouseId { get; set; }
|
|
|
|
[Column("dest_warehouse_name")]
|
|
[DisplayName(" ")]
|
|
public string DestWarehouseName { get; set; }
|
|
|
|
[Column("dest_zone_id")]
|
|
[DisplayName(" ")]
|
|
public int? DestZoneId { get; set; }
|
|
|
|
[Column("dest_zone_name")]
|
|
[DisplayName(" ")]
|
|
public string DestZoneName { get; set; }
|
|
|
|
[Column("dest_locate_id")]
|
|
[DisplayName(" ")]
|
|
public int? DestLocateId { get; set; }
|
|
|
|
[Column("dest_locate_name")]
|
|
[DisplayName(" ")]
|
|
public string DestLocateName { get; set; }
|
|
|
|
[Column("dest_erp_warehouse")]
|
|
[DisplayName(" ")]
|
|
public string DestErpWarehouse { get; set; }
|
|
|
|
[Column("rejectsY")]
|
|
[DisplayName(" ")]
|
|
public string RejectsY { get; set; }
|
|
|
|
[Column("rejectsN")]
|
|
[DisplayName(" ")]
|
|
public string RejectsN { get; set; }
|
|
|
|
[Column("new_serial_number")]
|
|
[DisplayName(" ")]
|
|
public string NewSerialNumber { get; set; }
|
|
|
|
[Column("old_serial_number")]
|
|
[DisplayName(" ")]
|
|
public string OldSerialNumber { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region PDA扩展字段
|
|
|
|
[NotMapped]
|
|
[Column("order_qty")]
|
|
[DisplayName(" ")]
|
|
public string OrderQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("rec_qty")]
|
|
[DisplayName(" ")]
|
|
public string RecQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("carton_qty")]
|
|
[DisplayName(" ")]
|
|
public string CartonQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("rec_carton_qty")]
|
|
[DisplayName(" ")]
|
|
public string RecCartonQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("locate_type")]
|
|
[DisplayName(" ")]
|
|
public int? LocateType { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("locate_type_desc")]
|
|
[DisplayName(" ")]
|
|
public string LocateTypeDesc { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("locate_num")]
|
|
[DisplayName(" ")]
|
|
public decimal LocateNum { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("fact_qty")]
|
|
[DisplayName(" ")]
|
|
public decimal FactQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("trans_status")]
|
|
[DisplayName(" ")]
|
|
public int? TransStatus { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("part_package")]
|
|
[DisplayName(" ")]
|
|
public string PartPackage { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("pending_qty")]
|
|
[DisplayName(" ")]
|
|
public int? PendingQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("storage_qty")]
|
|
[DisplayName(" ")]
|
|
public int? StorageQty { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("rack_no")]
|
|
[DisplayName(" ")]
|
|
public string? rack_no { get; set; }
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|