33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AllBase.Model.Result.WXResult
|
|
{
|
|
public class WXShopDefaultAddressInfo
|
|
{
|
|
public int? id { get; set; }
|
|
public string user_id { get; set; }
|
|
public string shop_id { get; set; }
|
|
public string province_name { get; set; }
|
|
public string city_name { get; set; }
|
|
public string county_name { get; set; }
|
|
public string detail_info { get; set; }
|
|
public string tel_number { get; set; }
|
|
public string user_name { get; set; }
|
|
public DateTime add_time { get; set; }
|
|
public DateTime mdy_time { get; set; }
|
|
|
|
public bool isFullAddress
|
|
{
|
|
get
|
|
{
|
|
return !string.IsNullOrEmpty(user_id) && !string.IsNullOrEmpty(shop_id) && !string.IsNullOrEmpty(province_name) && !string.IsNullOrEmpty(city_name) &&
|
|
!string.IsNullOrEmpty(county_name) && !string.IsNullOrEmpty(detail_info) && !string.IsNullOrEmpty(tel_number) && !string.IsNullOrEmpty(user_name);
|
|
}
|
|
}
|
|
}
|
|
}
|