using System;
using System.Collections.Generic;
using System.Text;

namespace JuSNS.Model
{
    /// <summary>
    /// 字典表:地区
    /// </summary>
    public class DictAreaInfo
    {
        /// <summary>
        /// 自增长编号
        /// </summary>
        private int _ID;
        /// <summary>
        /// 构造函数k
        /// </summary>
        /// <param name="id"></param>
        /// <param name="parentid"></param>
        /// <param name="name"></param>
        public DictAreaInfo(int id, int parentid, string name)
        {
            _ID = id;
            _ParentID = parentid;
            _Name = name;
        }
        public int ID
        {
            set { _ID = value; }
            get { return _ID; }
        }
        /// <summary>
        /// 父级编号(如无上一级则为:0)
        /// </summary>
        private int _ParentID;
        public int ParentID
        {
            set { _ParentID = value; }
            get { return _ParentID; }
        }
        /// <summary>
        /// 名称
        /// </summary>
        private string _Name;
        public string Name
        {
            set { _Name = value; }
            get { return _Name; }
        }
        /// <summary>
        /// 是否锁定
        /// </summary>
        private bool _IsLock;
        public bool IsLock
        {
            set { _IsLock = value; }
            get { return _IsLock; }
        }
    }
}
