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.

74 lines
1.7 KiB

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TA_PART:Entity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[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; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
public string Qlevel { get; set; }
public bool? Ischeck { get; set; }
public override object[] GetKeys()
{
return new object[]{Site,PartCode};
}
}
}