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;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TA_BOM
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
[DisplayName("总成物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(50)]
|
|
[DisplayName("子物料号")]
|
|
public string SubPartCode { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("用量")]
|
|
public decimal Qty { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 2, TypeName = "date")]
|
|
[DisplayName("生效日期")]
|
|
public DateTime BeginDate { get; set; }
|
|
|
|
[Column(TypeName = "date")]
|
|
[DisplayName("失效日期")]
|
|
public DateTime EndDate { get; set; }
|
|
|
|
[DisplayName("是否是关键零件")]
|
|
public bool IsKeyPart { get; set; }
|
|
|
|
[StringLength(500)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
}
|
|
}
|
|
|