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.
45 lines
1.2 KiB
45 lines
1.2 KiB
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TM_CQBMPT_PART_RELATION
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("漆件物料号")]
|
|
public string PaintPartCode { get; set; }
|
|
|
|
[NotMapped]
|
|
[DisplayName("漆件物料描述")]
|
|
public string PaintPartDesc => WmsCache.GetPartDesc(PaintPartCode);
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
[DisplayName("塑件物料号")]
|
|
public string InjectionPartCode { get; set; }
|
|
|
|
[NotMapped]
|
|
[DisplayName("塑件物料描述")]
|
|
public string InjectionPartDesc => WmsCache.GetPartDesc(InjectionPartCode);
|
|
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(50)]
|
|
[DisplayName("颜色代码")]
|
|
public string ColorCode { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("颜色名称")]
|
|
public string ColorName { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("颜色零件号")]
|
|
public string ColorPartCode { get; set; }
|
|
}
|
|
}
|