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.
55 lines
1.3 KiB
55 lines
1.3 KiB
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace CK.SCP.Models.ScpEntity
|
|
{
|
|
public partial class TA_PART
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long UID { get; set; }
|
|
|
|
[Key]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string ErpPartCode { get; set; }
|
|
|
|
// [Required]
|
|
public string PartDesc1 { get; set; }
|
|
|
|
// [Required]
|
|
public string PartDesc2 { get; set; }
|
|
|
|
// [Required]
|
|
[StringLength(50)]
|
|
public string ProjectId { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string Unit { get; set; }
|
|
|
|
// [Required]
|
|
[StringLength(50)]
|
|
public string PartGroup { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(10)]
|
|
public string State { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string Configuration { get; set; }
|
|
|
|
public int ValidityDays { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string ReceivePort { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string PalletSize { get; set; }
|
|
|
|
[StringLength(500)]
|
|
public string Remark { get; set; }
|
|
}
|
|
}
|
|
|