using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mesnac.Action.ChemicalWeighing.Entity { /// /// 简单用户类型与对应ID封装 /// [Serializable] class SimplePstRole { /// /// ID /// public int ID { get; set; } /// /// 用户类型 /// public string RoleName { get; set; } /// /// 类型对应表述解释 /// public string Description { get; set; } /// /// 重写ToString方法 /// /// public override string ToString() { return String.Format("{0}", this.RoleName); } } }