34 lines
631 B
C#
34 lines
631 B
C#
using System;
|
|
|
|
namespace Zhaizj.Framework.Common.Resource {
|
|
|
|
/// <summary>
|
|
/// 属性数据项,常用于下拉列表中
|
|
/// </summary>
|
|
public class PropertyItem {
|
|
|
|
private String _name;
|
|
private int _value;
|
|
|
|
public PropertyItem() {
|
|
}
|
|
|
|
public PropertyItem( String name, int val ) {
|
|
_name = name;
|
|
_value = val;
|
|
}
|
|
|
|
public String Name {
|
|
get { return _name; }
|
|
set { _name = value; }
|
|
}
|
|
|
|
public int Value {
|
|
get { return _value; }
|
|
set { _value = value; }
|
|
}
|
|
|
|
}
|
|
}
|
|
|