| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace XYFDRQ.Model
- {
- [Serializable]
- public class classify
- {
- public classify()
- { }
- #region Model
- private int _id;
- private string _name;
- private string _code;//编号,包含所有上级id,如果是顶级则唯一存在值
- private int _sort;//排序
- private int _state;//0添加或者修改,id存在则修改,不存在则添加,1删除
- private string _parent;//父类id
- private bool _haschild;//是否包含子知识项
- public bool haschild
- {
- get { return _haschild; }
- set { _haschild = value; }
- }
-
- public string name
- {
- get { return _name; }
- set { _name = value; }
- }
- public string parent
- {
- get { return _parent; }
- set { _parent = value; }
- }
- public int id
- {
- set { _id = value; }
- get { return _id; }
- }
- public string code
- {
- set { _code = value; }
- get { return _code; }
- }
-
- public int sort
- {
- set { _sort = value; }
- get { return _sort; }
- }
-
- public int state
- {
- set { _state = value; }
- get { return _state; }
- }
-
- #endregion Model
- }
-
- }
|