using System;
using System.Xml.Serialization;

namespace Aop.Api.Domain
{
    /// <summary>
    /// UserBusiness Data Structure.
    /// </summary>
    [Serializable]
    public class UserBusiness : AopObject
    {
        /// <summary>
        /// 用户权限等级
        /// </summary>
        [XmlElement("access_level")]
        public long AccessLevel { get; set; }

        /// <summary>
        /// 业务描述
        /// </summary>
        [XmlElement("business_desc")]
        public string BusinessDesc { get; set; }

        /// <summary>
        /// 业务id
        /// </summary>
        [XmlElement("business_id")]
        public long BusinessId { get; set; }

        /// <summary>
        /// 业务名称
        /// </summary>
        [XmlElement("business_name")]
        public string BusinessName { get; set; }

        /// <summary>
        /// 业务备注信息
        /// </summary>
        [XmlElement("business_remark")]
        public string BusinessRemark { get; set; }

        /// <summary>
        /// 业务状态
        /// </summary>
        [XmlElement("business_status")]
        public string BusinessStatus { get; set; }

        /// <summary>
        /// 是否是owner，是：1；否：0
        /// </summary>
        [XmlElement("owner")]
        public string Owner { get; set; }

        /// <summary>
        /// 对于该业务的用户状态
        /// </summary>
        [XmlElement("user_status")]
        public long UserStatus { get; set; }
    }
}
