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.
23 lines
471 B
23 lines
471 B
using LinqToDB.Mapping;
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Domain.Fawtyg.Tyrp;
|
|
|
|
public class Part : Entity<int>
|
|
{
|
|
[PrimaryKey]
|
|
[Identity]
|
|
public override int Id { get; protected set; }
|
|
public string Code { get; set; }
|
|
public string Name { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Id:{Id},Code:{Code},Name:{Name}";
|
|
}
|
|
|
|
public void SetId(int id)
|
|
{
|
|
Id = id;
|
|
}
|
|
}
|
|
|