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.

46 lines
1.1 KiB

1 year ago
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.ScpEntity
{
public partial class TA_VEND_PART
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string VendId { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string PartCode { get; set; }
[Key]
[Column(Order = 2)]
[StringLength(50)]
public string VendPartCode { get; set; }
public decimal VendPackQty { get; set; }
[StringLength(50)]
public string PoUnit { get; set; }
public int State { get; set; }
[StringLength(500)]
public string Remark { get; set; }
[NotMapped]
[DisplayName("��Ӧ������")]
public string VendName => ScpCache.GetVendName(VendId);
[NotMapped]
[DisplayName("��������")]
public string PartName => ScpCache.GetVendName(PartCode);
}
}