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.

80 lines
1.9 KiB

1 year ago
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.ScpEntity
{
public partial class TS_BARCODE
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[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 PackQty { 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; }
[DisplayName("��������")]
public string PartName => ScpCache.GetPartDesc1(PartCode);
}
}