using System; namespace YY.Admin.Core.Entity; public class MesXslCustomer { public string? Id { get; set; } public string? CustomerCode { get; set; } public string? CustomerName { get; set; } public string? CustomerShortName { get; set; } public string? CustomerRegion { get; set; } // Dict: xslmes_customer_region public string? ErpCode { get; set; } public string? Status { get; set; } // Dict: xslmes_customer_status "0"启用 "1"停用 public int? IzEnable { get; set; } // 与 Status 联动,由服务端写入,本端只读 public string? CustomerDesc { get; set; } 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" ? "停用" : "启用"; }