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

4 years ago
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; }
}
}