using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// KoubeiCateringCrowdgroupConditionSetModel Data Structure. /// [Serializable] public class KoubeiCateringCrowdgroupConditionSetModel : AopObject { /// /// 人群规则(创建,更新的时候必填) /// [XmlArray("condition_model_list")] [XmlArrayItem("condition_item_pattern")] public List ConditionModelList { get; set; } /// /// isv创建的用户分组id /// [XmlElement("crowd_group_id")] public string CrowdGroupId { get; set; } /// /// 针对用户分组的描述(创建和更新时必填) /// [XmlElement("describe")] public string Describe { get; set; } /// /// 智慧餐厅用户规则操作创建,删除,查询,更新枚举(CREATE("CREATE", "创建"),DELETE("DELETE", "删除"),RETRIEVE("RETRIEVE", "查询"), UPDATE("UPDATE", "修改")) /// [XmlElement("operation")] public string Operation { get; set; } /// /// 创建规则人的id号 /// [XmlElement("operator_id")] public string OperatorId { get; set; } /// /// 智慧餐厅操作人类型,包括("MER", "外部商户"),("MER_OPERATOR", "外部操作员"),("PROVIDER", "外部服务商"),("PROVIDER_STAFF", "外部服务商员工");不传时默认是MER /// [XmlElement("operator_type")] public string OperatorType { get; set; } /// /// 门店id /// [XmlElement("shop_id")] public string ShopId { get; set; } } }