emoticon_api/ARW.Model/Dto/Business/ShopManager/Shops/ShopDto.cs
2023-06-24 23:21:02 +08:00

148 lines
2.9 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.ShopManager.Shops;
using MimeKit;
using OfficeOpenXml.Attributes;
using SqlSugar;
namespace ARW.Model.Dto.Business.ShopManager.Shops
{
/// <summary>
/// 店铺输入对象
///
/// @author lwh
/// @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; }
public int ShopSort { get; set; }
public int ShopSalesOrderCount { get; set; }
public int ShopAuditStatus { get; set; }
public long ShopAuditUserGuid { get; set; }
}
/// <summary>
/// 店铺查询对象
///
/// @author lwh
/// @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 lwh
/// @date 2023-06-09
/// 审核对象
/// </summary>
public class ShopAuditDto
{
public int ShopAuditStatus { get; set; }
public string ids { get; set; }
}
/// <summary>
/// 未绑定的用户查询对象
///
/// @author lwh
/// @date 2023-06-09
/// </summary>
public class UserWithOutBindQueryDto : PagerInfo
{
public string UserName { get; set; }
}
/// <summary>
/// 未绑定的客户查询对象
///
/// @author lwh
/// @date 2023-06-09
/// </summary>
public class CustomerWithOutBindQueryDto : PagerInfo
{
public string CustomerNickname { get; set; }
}
/// <summary>
/// 商户店铺查询对象
///
/// @author lwh
/// @date 2023-06-09
/// </summary>
public class ShopOperatorQueryDto
{
public long ShopGuid { get; set; }
}
/// <summary>
/// 商户店铺编辑对象
///
/// @author lwh
/// @date 2023-06-09
/// </summary>
public class ShopOperatorEditDto
{
public long ShopGuid { get; set; }
public string ShopLogo { get; set; }
public string ShopName { get; set; }
public string ShopIntro { get; set; }
}
}