using System; namespace YY.Admin.Core.Entity; public class MesXslSupplier { public string? Id { get; set; } public string? SupplierCode { get; set; } public string? SupplierName { get; set; } public string? SupplierShortName { get; set; } public string? ErpCode { get; set; } public string? Remark { get; set; } public string? Status { get; set; } // Dict: xslmes_supplier_status "0"启用 "1"停用 public int? TenantId { get; set; } public string? CreateBy { get; set; } public DateTime? CreateTime { get; set; } public string? UpdateBy { get; set; } public DateTime? UpdateTime { get; set; } public string? SysOrgCode { get; set; } public int? Version { get; set; } public string StatusText => Status == "1" ? "停用" : "启用"; }