using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Logic.RemoteModel
{
    public class StoreInfoResponse
    {
        /// <summary>
        /// 档口
        /// </summary>
        [JsonProperty("gateList")]
        public List<StallModelResponse> Stalls { get; set; }
        /// <summary>
        /// 设备
        /// </summary>
        [JsonProperty("payCardList")]
        public List<DeviceModelResponse> Devices { get; set; }
    }
    public class StallModelResponse
    {

        public string Id { get; set; }
        /// <summary>
        /// 档口名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 归属门店
        /// </summary>
        public string StoreId { get; set; }
        /// <summary>
        /// 收费方式（1，固定金额2，自由设定）
        /// </summary>
        public int Mode { get; set; }
        /// <summary>
        /// 收款金额
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 广告
        /// </summary>
        public string Remaek { get; set; }
        /// <summary>
        ///状态0正常，1停用
        /// </summary>
        public int Status { get; set; }
    }
    public class DeviceModelResponse
    {
        public string Id { get; set; }
        /// <summary>
        /// 刷卡设备名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 档口id
        /// </summary>
        public string GateId { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 刷卡间隔时间
        /// </summary>
        public int SleepTime { get; set; }
        /// <summary>
        /// 状态0正常，1停用
        /// </summary>
        public int Status { get; set; }
    }
}
