You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
2.5 KiB
101 lines
2.5 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace CK.SCP.Models.ScpEntity
|
|
{
|
|
public partial class TS_BARCODE_SMALL
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long UID { get; set; }
|
|
|
|
|
|
[StringLength(50)]
|
|
public string BarCode { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(500)]
|
|
public string FullBarCode { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string VendPartCode { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string Batch { get; set; }
|
|
|
|
[Column(TypeName = "datetime2")]
|
|
public DateTime ProduceDate { get; set; }
|
|
|
|
public int ManageType { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string SerialNum { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
public decimal Qty { get; set; }
|
|
|
|
public int BarCodeType { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string BillNum { get; set; }
|
|
|
|
public int PoBillLine { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string VendId { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string VendBatch { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
public decimal SmallPackQty { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string CreateOper { get; set; }
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
public int State { get; set; }
|
|
|
|
[StringLength(500)]
|
|
public string Remark { get; set; }
|
|
|
|
public string PoUnit { get; set; }
|
|
public string LocUnit { get; set; }
|
|
|
|
|
|
public string Site { get; set; }
|
|
public string Qlevel { get; set; }
|
|
public string QMark { get; set; }
|
|
public string ProjectId { get; set; }
|
|
|
|
public string PoBillNum { get; set; }
|
|
|
|
|
|
|
|
[DisplayName("供应商名称")]
|
|
public string VendName => ScpCache.GetVendName(VendId, Site);
|
|
|
|
|
|
[DisplayName("零件名称")]
|
|
|
|
|
|
public string PartDesc => ScpCache.GetPartDesc1(PartCode, Site);
|
|
|
|
[DisplayName("零件名称")]
|
|
public string PartName => ScpCache.GetPartDesc1(PartCode, Site);
|
|
[NotMapped]
|
|
public List<long> UIDList { get; set; }
|
|
}
|
|
}
|
|
|