69 lines
1.7 KiB
C#
69 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using ARW.Model.Models.Business.Custom.CustomerAddresses;
|
|
|
|
namespace ARW.Model.Dto.Business.Custom.CustomerAddresses
|
|
{
|
|
/// <summary>
|
|
/// 客户收货地址输入对象
|
|
///
|
|
/// @author admin
|
|
/// @date 2023-06-05
|
|
/// </summary>
|
|
public class CustomerAddressDto
|
|
{
|
|
|
|
public int CustomerAddressId { get; set; }
|
|
|
|
public long CustomerAddressGuid { get; set; }
|
|
|
|
[Required(ErrorMessage = "客户guid不能为空")]
|
|
public long CustomerAddressCustomerGuid { get; set; }
|
|
|
|
[Required(ErrorMessage = "省id不能为空")]
|
|
public int CustomerAddressProvinceId { get; set; }
|
|
|
|
[Required(ErrorMessage = "市id不能为空")]
|
|
public int CustomerAddressCityId { get; set; }
|
|
|
|
[Required(ErrorMessage = "区id不能为空")]
|
|
public int CustomerAddressAreaId { get; set; }
|
|
|
|
[Required(ErrorMessage = "收货人名称不能为空")]
|
|
public string CustomerAddressName { get; set; }
|
|
|
|
[Required(ErrorMessage = "收货电话不能为空")]
|
|
public string CustomerAddressPhone { get; set; }
|
|
|
|
[Required(ErrorMessage = "详细地址不能为空")]
|
|
public string CustomerAddressDetailed { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 客户收货地址查询对象
|
|
///
|
|
/// @author admin
|
|
/// @date 2023-06-05
|
|
/// </summary>
|
|
public class CustomerAddressQueryDto : PagerInfo
|
|
{
|
|
|
|
public string CustomerAddressName { get; set; }
|
|
|
|
public string CustomerAddressPhone { get; set; }
|
|
|
|
public string ids { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|