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.

268 lines
7.3 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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.OtherWaiMai
{
public class ShopMeituanWaiMaiPoiInfo
{
//==================================private==================================
#region field
//ERP方门店ID(门店映射时提交给美团的ERP门店ID)
private string app_poi_code;
//门店名称
private string name;
//门店地址
private string address;
//门店经度
private decimal latitude;
//门店纬度
private decimal longitude;
//门店电话
private string phone;
//每个订单的配送费
private decimal shipping_fee;
//营业时间(06:00-09:00,15:30-22:00)/配送时间
private string shipping_time;
//门店推广信息
private string promotion_info;
//门店的营业状态1为可配送3为休息中
private int open_level;
//是否在线(0-下线;1-上线;)
private int is_online;
//门店是否支持发票(0-不支持;1-可开发票;)
private int invoice_support;
//门店支持开发票的最小订单价
private int invoice_min_price;
//发票相关说明
private string invoice_description;
//是否支持营业时间范围外预下单(0-不支持,1 表示支持)
private int pre_book;
//是否支持营业时间内预下单(0-不支持,1 表示支持)
private int time_select;
#endregion
//==================================public==================================
#region app_poi_code ERP方门店ID(门店映射时提交给美团的ERP门店ID)
[JsonProperty(PropertyName = "app_poi_code")]
/// <summary>
/// ERP方门店ID(门店映射时提交给美团的ERP门店ID)
/// <summary>
public string App_poi_code
{
get { return app_poi_code; }
set { app_poi_code = value; }
}
#endregion
#region name 门店名称
[JsonProperty(PropertyName = "name")]
/// <summary>
/// 门店名称
/// <summary>
public string Name
{
get { return name; }
set { name = value; }
}
#endregion
#region address 门店地址
[JsonProperty(PropertyName = "address")]
/// <summary>
/// 门店地址
/// <summary>
public string Address
{
get { return address; }
set { address = value; }
}
#endregion
#region latitude 门店经度
[JsonProperty(PropertyName = "latitude")]
/// <summary>
/// 门店经度
/// <summary>
public decimal Latitude
{
get { return latitude; }
set { latitude = value; }
}
#endregion
#region longitude 门店纬度
[JsonProperty(PropertyName = "longitude")]
/// <summary>
/// 门店纬度
/// <summary>
public decimal Longitude
{
get { return longitude; }
set { longitude = value; }
}
#endregion
#region phone 门店电话
[JsonProperty(PropertyName = "phone")]
/// <summary>
/// 门店电话
/// <summary>
public string Phone
{
get { return phone; }
set { phone = value; }
}
#endregion
#region shipping_fee 每个订单的配送费
[JsonProperty(PropertyName = "shipping_fee")]
/// <summary>
/// 每个订单的配送费
/// <summary>
public decimal Shipping_fee
{
get { return shipping_fee; }
set { shipping_fee = value; }
}
#endregion
#region shipping_time 营业时间(06:00-09:00,15:30-22:00)/配送时间
[JsonProperty(PropertyName = "shipping_time")]
/// <summary>
/// 营业时间(06:00-09:00,15:30-22:00)/配送时间
/// <summary>
public string Shipping_time
{
get { return shipping_time; }
set { shipping_time = value; }
}
#endregion
#region promotion_info 门店推广信息
[JsonProperty(PropertyName = "promotion_info")]
/// <summary>
/// 门店推广信息
/// <summary>
public string Promotion_info
{
get { return promotion_info; }
set { promotion_info = value; }
}
#endregion
#region open_level 门店的营业状态1为可配送3为休息中
[JsonProperty(PropertyName = "open_level")]
/// <summary>
/// 门店的营业状态1为可配送3为休息中
/// <summary>
public int Open_level
{
get { return open_level; }
set { open_level = value; }
}
#endregion
#region is_online 是否在线(0-下线;1-上线;)
[JsonProperty(PropertyName = "is_online")]
/// <summary>
/// 是否在线(0-下线;1-上线;)
/// <summary>
public int Is_online
{
get { return is_online; }
set { is_online = value; }
}
#endregion
#region invoice_support 门店是否支持发票(0-不支持;1-可开发票;)
[JsonProperty(PropertyName = "invoice_support")]
/// <summary>
/// 门店是否支持发票(0-不支持;1-可开发票;)
/// <summary>
public int Invoice_support
{
get { return invoice_support; }
set { invoice_support = value; }
}
#endregion
#region invoice_min_price 门店支持开发票的最小订单价
[JsonProperty(PropertyName = "invoice_min_price")]
/// <summary>
/// 门店支持开发票的最小订单价
/// <summary>
public int Invoice_min_price
{
get { return invoice_min_price; }
set { invoice_min_price = value; }
}
#endregion
#region invoice_description 发票相关说明
[JsonProperty(PropertyName = "invoice_description")]
/// <summary>
/// 发票相关说明
/// <summary>
public string Invoice_description
{
get { return invoice_description; }
set { invoice_description = value; }
}
#endregion
#region pre_book 是否支持营业时间范围外预下单(0-不支持,1 表示支持)
[JsonProperty(PropertyName = "pre_book")]
/// <summary>
/// 是否支持营业时间范围外预下单(0-不支持,1 表示支持)
/// <summary>
public int Pre_book
{
get { return pre_book; }
set { pre_book = value; }
}
#endregion
#region time_select 是否支持营业时间内预下单(0-不支持,1 表示支持)
[JsonProperty(PropertyName = "time_select")]
/// <summary>
/// 是否支持营业时间内预下单(0-不支持,1 表示支持)
/// <summary>
public int Time_select
{
get { return time_select; }
set { time_select = value; }
}
#endregion
}
}