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 { /// /// 店铺输入对象 /// /// @author 黎文豪 /// @date 2023-06-09 /// 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; } } /// /// 店铺查询对象 /// /// @author 黎文豪 /// @date 2023-06-09 /// public class ShopQueryDto : PagerInfo { public string ShopName { get; set; } public int? ShopAuditStatus { get; set; } public string ids { get; set; } } /// /// /// @author 黎文豪 /// @date 2023-06-09 /// 审核对象 /// public class ShopAuditDto { public int ShopAuditStatus { get; set; } public string ids { get; set; } } /// /// 未绑定的用户查询对象 /// /// @author 黎文豪 /// @date 2023-06-09 /// public class UserWithOutBindQueryDto : PagerInfo { public string UserName { get; set; } } /// /// 未绑定的客户查询对象 /// /// @author 黎文豪 /// @date 2023-06-09 /// public class CustomerWithOutBindQueryDto : PagerInfo { public string CustomerNickname { get; set; } } /// /// 商户店铺查询对象 /// /// @author 黎文豪 /// @date 2023-06-09 /// public class ShopOperatorQueryDto { public long ShopGuid { get; set; } } /// /// 商户店铺编辑对象 /// /// @author 黎文豪 /// @date 2023-06-09 /// public class ShopOperatorEditDto { public long ShopGuid { get; set; } public string ShopLogo { get; set; } public string ShopName { get; set; } public string ShopIntro { get; set; } } }