You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lj_plc/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Entity/SimplePstRole.cs

40 lines
880 B
C#

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