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.
30 lines
737 B
30 lines
737 B
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using System.Data.Entity;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace CK.SCP.Models.ScpEntity
|
||
|
{
|
||
|
public class TA_Part_User
|
||
|
{
|
||
|
[Key]
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||
|
public int UID { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string PartCode { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string UserName { get; set; }
|
||
|
|
||
|
[NotMapped]
|
||
|
[DisplayName("零件名称")]
|
||
|
public string PartName => ScpCache.GetPartDesc1(PartCode);
|
||
|
}
|
||
|
}
|