using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.ShopManager.ShopAddresss;
using Infrastructure;
namespace ARW.Model.Dto.Business.ShopManager.ShopAddresss
{
///
/// 店铺地址输入对象
///
/// @author 黎文豪
/// @date 2023-06-15
///
public class ShopAddressDto
{
public int ShopAddressId { get; set; }
public long ShopAddressGuid { get; set; }
public long ShopGuid { get; set; }
[Required(ErrorMessage = "地址类型不能为空")]
public int ShopAddressType { get; set; }
[Required(ErrorMessage = "省id不能为空")]
public int ProvinceId { get; set; }
[Required(ErrorMessage = "市id不能为空")]
public int CityId { get; set; }
[Required(ErrorMessage = "区id不能为空")]
public int DistrictId { get; set; }
[Required(ErrorMessage = "联系人姓名不能为空")]
public string ShopAddressContactName { get; set; }
[Required(ErrorMessage = "联系电话不能为空")]
public string ShopAddressContactNumber { get; set; }
[Required(ErrorMessage = "详细地址不能为空")]
public string ShopAddressDetailedAddress { get; set; }
[Required(ErrorMessage = "排序不能为空")]
public int ShopAddressSort { get; set; }
}
///
/// 店铺地址查询对象
///
/// @author 黎文豪
/// @date 2023-06-15
///
public class ShopAddressQueryDto : PagerInfo
{
public long ShopGuid { get; set; }
public int? ShopAddressType { get; set; }
public string ids { get; set; }
}
}