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.

29 lines
709 B

4 years ago
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CK.SCP.Models.ScpEntity
{
public class TA_VEND_USER
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[StringLength(50)]
public string VendId { get; set; }
[StringLength(50)]
public string UserName { get; set; }
[NotMapped]
[DisplayName("供应商名称")]
public string VendName => ScpCache.GetVendName(VendId);
}
}