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

namespace P
{

    public enum GroupInfoOperationCmd : byte
    {
        /// <summary>
        /// 
        /// </summary>
        None = 0,
        /// <summary>
        /// 添加
        /// </summary>
        Add = 1,
        /// <summary>
        /// 删除
        /// </summary>
        Update = 2,
        /// <summary>
        /// 更新
        /// </summary>
        Del = 3,
    }

    /// <summary>
    /// 分组信息操作
    /// </summary>
    public class GroupInfoOperation
    {
        /// <summary>
        /// 操作命令
        /// </summary>
        public GroupInfoOperationCmd cmd
        { get; set; } 
        /// <summary>
        /// 分组ID
        /// </summary>
        public int GroupID
        { get; set; }
        /// <summary>
        /// 分组名
        /// </summary>
        public string GroupName
        { get; set; }
        /// <summary>
        /// 新分组名
        /// </summary>
        public string NewGroupName
        { get; set; }
    }
}
