emoticon_api/ARW.Model/Dto/Business/ShopManager/Shops/ShopDto.cs

105 lines
2.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.ShopManager.Shops;
namespace ARW.Model.Dto.Business.ShopManager.Shops
{
/// <summary>
/// 店铺输入对象
///
/// @author 黎文豪
/// @date 2023-06-09
/// </summary>
public class ShopDto
{
public int ShopId { get; set; }
public long ShopGuid { get; set; }
public int? ShopUserId { get; set; }
public long? ShopCustomerGuid { get; set; }
[Required(ErrorMessage = "经营类目guid不能为空")]
public long ShopBusinessCategoryGuid { get; set; }
[Required(ErrorMessage = "图标不能为空")]
public string ShopLogo { get; set; }
[Required(ErrorMessage = "营业执照不能为空")]
public string ShopBusinessLicense { get; set; }
[Required(ErrorMessage = "名称不能为空")]
public string ShopName { get; set; }
[Required(ErrorMessage = "简介不能为空")]
public string ShopIntro { get; set; }
[Required(ErrorMessage = "排序不能为空")]
public int ShopSort { get; set; }
[Required(ErrorMessage = "销售单量不能为空")]
public int ShopSalesOrderCount { get; set; }
[Required(ErrorMessage = "审核状态不能为空")]
public int ShopAuditStatus { get; set; }
[Required(ErrorMessage = "审核人不能为空")]
public long ShopAuditUserGuid { get; set; }
}
/// <summary>
/// 店铺查询对象
///
/// @author 黎文豪
/// @date 2023-06-09
/// </summary>
public class ShopQueryDto : PagerInfo
{
public string ShopName { get; set; }
public int? ShopAuditStatus { get; set; }
public string ids { get; set; }
}
/// <summary>
///
/// @author 黎文豪
/// @date 2023-06-09
/// 审核对象
/// </summary>
public class ShopAuditDto
{
public int ShopAuditStatus { get; set; }
public string ids { get; set; }
}
/// <summary>
/// 店铺查询对象
///
/// @author 黎文豪
/// @date 2023-06-09
/// </summary>
public class CustomerWithOutBindQueryDto : PagerInfo
{
public string CustomerNickname { get; set; }
}
}