You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
4.1 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace POSV.Card
{
/// <summary>
/// 门店信息
/// </summary>
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class MeiTuanPoiInfoResponse
{
/// <summary>
/// ERP方门店ID(门店映射时提交给美团的ERP门店ID)
/// </summary>
[JsonProperty(PropertyName = "epoiId")]
public string EpoiId { get; set; }
/// <summary>
/// 门店名称
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
/// <summary>
/// 门店公告信息
/// </summary>
[JsonProperty(PropertyName = "noticeInfo")]
public string NoticeInfo { get; set; }
/// <summary>
/// 门店地址
/// </summary>
[JsonProperty(PropertyName = "address")]
public string Address { get; set; }
/// <summary>
/// 美团品类名称
/// </summary>
[JsonProperty(PropertyName = "tagName")]
public string TagName { get; set; }
/// <summary>
/// 门店经度
/// </summary>
[JsonProperty(PropertyName = "latitude")]
public double Latitude { get; set; }
/// <summary>
/// 门店纬度
/// </summary>
[JsonProperty(PropertyName = "longitude")]
public double Longitude { get; set; }
/// <summary>
/// 门店电话
/// </summary>
[JsonProperty(PropertyName = "phone")]
public string Phone { get; set; }
/// <summary>
/// 门店图片url
/// </summary>
[JsonProperty(PropertyName = "pictureUrl")]
public string PictureUrl { get; set; }
/// <summary>
/// 是否营业(0-未上线;1-可配送;3-休息中;)
/// </summary>
[JsonProperty(PropertyName = "isOpen")]
public int IsOpen { get; set; }
/// <summary>
/// 是否在线(0-下线;1-上线;)
/// </summary>
[JsonProperty(PropertyName = "isOnline")]
public int IsOnline { get; set; }
/// <summary>
/// 营业时间(06:00-09:00,15:30-22:00)/配送时间
/// </summary>
[JsonProperty(PropertyName = "openTime")]
public string OpenTime { get; set; }
/// <summary>
/// 配送费
/// </summary>
[JsonProperty(PropertyName = "shippingFee")]
public decimal ShippingFee { get; set; }
/// <summary>
/// 门店是否支持发票(0-不支持;1-可开发票;)
/// </summary>
[JsonProperty(PropertyName = "invoiceSupport")]
public int InvoiceSupport { get; set; }
/// <summary>
/// 门店支持开发票的最小订单价
/// </summary>
[JsonProperty(PropertyName = "invoiceMinPrice")]
public int InvoiceMinPrice { get; set; }
/// <summary>
/// 发票相关说明
/// </summary>
[JsonProperty(PropertyName = "invoiceDescription")]
public string InvoiceDescription { get; set; }
/// <summary>
/// 是否支持营业时间范围外预下单(0-不支持,1 表示支持)
/// </summary>
[JsonProperty(PropertyName = "preBook")]
public int PreBook { get; set; }
/// <summary>
/// 预下单最小日期 (0-从当天算起)
/// </summary>
[JsonProperty(PropertyName = "preBookMinDays")]
public int PreBookMinDays { get; set; }
/// <summary>
/// 预下单最大日期(2-后天)预下单支持从最小日期到最大日期的连续日期。例如preBookMinDays=0preBookMaxDays=2表示支持当天明天后天的预下单
/// </summary>
[JsonProperty(PropertyName = "preBookMaxDays")]
public int PreBookMaxDays { get; set; }
/// <summary>
/// 是否支持营业时间内预下单(0-不支持,1 表示支持)
/// </summary>
[JsonProperty(PropertyName = "timeSelect")]
public int TimeSelect { get; set; }
}
}