inti
This commit is contained in:
parent
c729e8cf50
commit
04296dc681
@ -1,20 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Carts
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车记录查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-20
|
|
||||||
/// </summary>
|
|
||||||
public class CartQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "客户Guid不能为空")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Carts
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 修改购物车商品选中状态Dto
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-05
|
|
||||||
/// </summary>
|
|
||||||
public class CartGoodsNumDto
|
|
||||||
{
|
|
||||||
public int CartId { get; set; }
|
|
||||||
public int CartGoodsNum { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Carts
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 修改购物车商品选中状态Dto
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-05
|
|
||||||
/// </summary>
|
|
||||||
public class CartGoodsSelectDto
|
|
||||||
{
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
public int CartId { get; set; }
|
|
||||||
public bool IsSelected { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,69 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Custom.CustomerAddresses;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Custom.CustomerAddresses
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 客户收货地址查询对象Api
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-06-09
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerAddressQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public long CustomerAddressCustomerGuid { get; set; }
|
|
||||||
public string CustomerAddressName { get; set; }
|
|
||||||
public string CustomerAddressPhone { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 客户收货地址详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-06-09
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerAddressDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "CustomerAddressId不能为空")]
|
|
||||||
public long CustomerAddressId { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class CustomerAddressAddDtoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
public int CustomerAddressId { get; set; }
|
|
||||||
|
|
||||||
public long CustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
public long CustomerAddressCustomerGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "省编码不能为空")]
|
|
||||||
public string ProvinceCode { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "市编码不能为空")]
|
|
||||||
public string CityCode { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "区编码不能为空")]
|
|
||||||
public string DistrictCode { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "收货人名称不能为空")]
|
|
||||||
public string CustomerAddressName { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "收货电话不能为空")]
|
|
||||||
public string CustomerAddressPhone { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "详细地址不能为空")]
|
|
||||||
public string CustomerAddressDetailed { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "是否默认地址不能为空")]
|
|
||||||
public int IsDefault { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsCategorys;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.GoodsManager.GoodsCategorys
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 经营类目查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-08
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCategoryQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public string GoodsCategoryName { get; set; }
|
|
||||||
public int? GoodsCategoryDisplayStatus { get; set; }
|
|
||||||
public int? GoodsCategoryIsPopular { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 经营类目详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-08
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCategoryDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "GoodsCategoryGuid不能为空")]
|
|
||||||
public long GoodsCategoryGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,40 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsComments;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.GoodsManager.GoodsComments
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品评价查询对象Api
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-07-17
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCommentQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public long? ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品Id不能为空")]
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
|
|
||||||
public int CommentLevel { get; set; }
|
|
||||||
|
|
||||||
public bool HasImage { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品详情页评价输入对象Api
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-07-17
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCommentDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "商品Id不能为空")]
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.Goodss;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-09
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public long? ShopGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺经营类目
|
|
||||||
/// </summary>
|
|
||||||
public long GoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺商品类目
|
|
||||||
/// </summary>
|
|
||||||
public long ShopGoodsCategoryGuid { get; set; }
|
|
||||||
public string GoodsName { get; set; }
|
|
||||||
public string GoodsCoding { get; set; }
|
|
||||||
public int GoodsSort { get; set; }
|
|
||||||
public int GoodsSortType { get; set; }
|
|
||||||
public decimal MinPrice { get; set;}
|
|
||||||
public decimal MaxPrice { get; set;}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-09
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "商品Id不能为空")]
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Dto.Api.Pay;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.Goodss;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-09
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsFreightDto
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 待结算商品
|
|
||||||
/// </summary>
|
|
||||||
public List<GoodsRequest> GoodsRequestList { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 地址guid
|
|
||||||
/// </summary>
|
|
||||||
public long CustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.ShopGoodsCategorys;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.GoodsManager.ShopGoodsCategorys
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺商品类目查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-20
|
|
||||||
/// </summary>
|
|
||||||
public class ShopGoodsCategoryQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "ShopGuid不能为空")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public string ShopGoodsCategoryName { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Marketing.CouponManage.Coupons;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Marketing.CouponManage.Coupons
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-01
|
|
||||||
/// </summary>
|
|
||||||
public class CouponQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public string CouponName { get; set; }
|
|
||||||
public int? CouponType { get; set; }
|
|
||||||
public int? CouponExpireType { get; set; }
|
|
||||||
public int? CouponApplicableScope { get; set; }
|
|
||||||
public int? CouponDisplayStatus { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-01
|
|
||||||
/// </summary>
|
|
||||||
public class CouponDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "CouponGuid不能为空")]
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Marketing.CouponManage.CustomerCoupons;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Marketing.CouponManage.CustomerCoupons
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 领券记录查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-31
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerCouponQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "CustomerGuid不能为空")]
|
|
||||||
public long CustomerGuid{ get; set; }
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
public int Status { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 领券记录详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-31
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerCouponDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "CustomerCouponGuid不能为空")]
|
|
||||||
public long CustomerCouponId { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,47 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderRefunds;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-16
|
|
||||||
/// </summary>
|
|
||||||
public class AddOrderRefundApiDto
|
|
||||||
{
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单guid不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "店铺guid不能为空")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "售后类型(1退货退款 2退货(无需退款) 3换货)不能为空")]
|
|
||||||
public int RefundType { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品收货状态(1未收到货 2已收到货)不能为空")]
|
|
||||||
public int GoodsReceiveStatus { get; set; }
|
|
||||||
|
|
||||||
public int RefundReason { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "退款金额")]
|
|
||||||
public decimal RefundMoney { get; set; }
|
|
||||||
|
|
||||||
public string CustomerRefundDesc { get; set; }
|
|
||||||
|
|
||||||
public string CustomerRefundImg { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderRefunds;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 买家发货对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-17
|
|
||||||
/// </summary>
|
|
||||||
public class BuyerDeliveryApiDto
|
|
||||||
{
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 物流公司guid
|
|
||||||
/// </summary>
|
|
||||||
[Required(ErrorMessage = "物流公司guid不能为空")]
|
|
||||||
public long LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 客户发货物流单号
|
|
||||||
/// </summary>
|
|
||||||
public string ExpressNo { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 客户发货备注
|
|
||||||
/// </summary>
|
|
||||||
public string CustomerWaybillRemark { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderRefunds;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-16
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
public int? RefundType { get; set; }
|
|
||||||
public int? RefundReason { get; set; }
|
|
||||||
public int? GoodsReceiveStatus { get; set; }
|
|
||||||
public int? MerchantAuditStatus { get; set; }
|
|
||||||
public int? IsCustomerSend { get; set; }
|
|
||||||
public int? OrderRefundStatus { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-16
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "OrderRefundGuid不能为空")]
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 添加评论对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-19
|
|
||||||
/// </summary>
|
|
||||||
public class AddCommentDto
|
|
||||||
{
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单guid不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品guid不能为空")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "评分分数不能为空")]
|
|
||||||
public float GoodsCommentRating { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "评价内容不能为空")]
|
|
||||||
public string GoodsCommentContent { get; set; }
|
|
||||||
|
|
||||||
public string GoodsCommentImages { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单优惠券对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
public class OrderCoupon
|
|
||||||
{
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public int Key { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
public class OrderQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
public string OrderNumber { get; set; }
|
|
||||||
public int Status { get; set; }
|
|
||||||
public string LogisticsTrackingNumber { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
public class OrderDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "OrderGuid不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单店铺对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
public class StoreInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long StoreId { get; set; }
|
|
||||||
public string StoreName { get; set; }
|
|
||||||
public string Remark { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,8 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Pay
|
namespace ARW.Model.Dto.Api.Pay
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Dto.Api.OrderManage.Orders;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Pay
|
namespace ARW.Model.Dto.Api.Pay
|
||||||
{
|
{
|
||||||
@ -59,13 +55,13 @@ namespace ARW.Model.Dto.Api.Pay
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 优惠券列表
|
/// 优惠券列表
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<OrderCoupon> CouponList;
|
//public List<OrderCoupon> CouponList;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 店铺信息
|
/// 店铺信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<StoreInfo> StoreInfoList;
|
//public List<StoreInfo> StoreInfoList;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Pay
|
namespace ARW.Model.Dto.Api.Pay
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Pay
|
namespace ARW.Model.Dto.Api.Pay
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Dto.Api.OrderManage.Orders;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.Pay
|
namespace ARW.Model.Dto.Api.Pay
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.ShopManager.Shops;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Api.ShopManager.Shops
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺查询对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-12
|
|
||||||
/// </summary>
|
|
||||||
public class ShopQueryDtoApi : PagerInfo
|
|
||||||
{
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
public int? ShopAuditStatus { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺详情输入对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-12
|
|
||||||
/// </summary>
|
|
||||||
public class ShopDtoApi
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "ShopGuid不能为空")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Carts;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.Carts
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车记录输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-20
|
|
||||||
/// </summary>
|
|
||||||
public class CartDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int CartId { get; set; }
|
|
||||||
|
|
||||||
public long CartGuid { get; set; }
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
public int GoodsSkuId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品数量不能为空")]
|
|
||||||
public int CartGoodsNum { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车记录查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-20
|
|
||||||
/// </summary>
|
|
||||||
public class CartQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long? CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
public long? ShopGuid { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,68 +0,0 @@
|
|||||||
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; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,67 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsCategorys;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsCategorys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品类目输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-12
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCategoryDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int GoodsCategoryId { get; set; }
|
|
||||||
|
|
||||||
public long GoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "父级guid不能为空")]
|
|
||||||
public long GoodsCategoryParentGuid { get; set; }
|
|
||||||
|
|
||||||
public string GoodsCategoryAncestralGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "名称不能为空")]
|
|
||||||
public string GoodsCategoryName { get; set; }
|
|
||||||
|
|
||||||
public string GoodsCategoryImg { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "显示状态不能为空")]
|
|
||||||
public int GoodsCategoryDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsCategoryIsPopular { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int ProductCategorySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品类目查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-12
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCategoryQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string GoodsCategoryName { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsCategoryDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsCategoryIsPopular { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,105 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsComments;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsComments
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品评价输入对象
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-07-15
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCommentDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int GoodsCommentId { get; set; }
|
|
||||||
|
|
||||||
public long GoodsCommentGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "店铺guid不能为空")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "客户guid不能为空")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单guid不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品guid不能为空")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单商品guid不能为空")]
|
|
||||||
public long OrderGoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "评分分数不能为空")]
|
|
||||||
public float GoodsCommentRating { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "评分类型不能为空")]
|
|
||||||
public int GoodsCommentRatingType { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "评价内容不能为空")]
|
|
||||||
public string GoodsCommentContent { get; set; }
|
|
||||||
|
|
||||||
public string GoodsCommentImages { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "回复状态不能为空")]
|
|
||||||
public int GoodsCommentRecoverStatus { get; set; }
|
|
||||||
|
|
||||||
public string GoodsCommentRecoverContent { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "显示状态不能为空")]
|
|
||||||
public int GoodsCommentStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int GoodsCommentSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品评价查询对象
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-07-15
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCommentQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
|
|
||||||
public string GoodsName { get; set; }
|
|
||||||
|
|
||||||
public long? ShopGuid { get; set; }
|
|
||||||
public int? GoodsCommentRatingType { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsCommentStatus { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsCommentRecoverStatus { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-07-17
|
|
||||||
/// 回复对象
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCommentRecoverDto
|
|
||||||
{
|
|
||||||
[Required(ErrorMessage = "id不能为空")]
|
|
||||||
public int GoodsCommentId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "回复内容不能为空")]
|
|
||||||
public string GoodsCommentRecoverContent { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,68 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsServicess;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsServicess
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品服务与承诺输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsServicesDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int GoodsServicesId { get; set; }
|
|
||||||
|
|
||||||
public long GoodsServicesGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "店铺guid不能为空")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "服务名称不能为空")]
|
|
||||||
public string GoodsServicesName { get; set; }
|
|
||||||
|
|
||||||
public string GoodsServicesSummary { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "是否默认不能为空")]
|
|
||||||
public int GoodsServicesIsDefault { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "显示状态不能为空")]
|
|
||||||
public int GoodsServicesDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int GoodsServicesSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品服务与承诺查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsServicesQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
public string GoodsServicesName { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsServicesIsDefault { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsServicesDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsServicess.GoodsServicesRels
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品服务与承诺关系表输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsServicesRelDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int Id { get; set; }
|
|
||||||
|
|
||||||
public long Guid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "店铺guid不能为空")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品guid不能为空")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "服务与承诺guid不能为空")]
|
|
||||||
public long ServiceGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品服务与承诺关系表查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsServicesRelQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,70 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSkus;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsSpecs.GoodsSkus
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsSkuDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int GoodsSkuId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品guid不能为空")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "第一规格值不能为空")]
|
|
||||||
public string SpecValue { get; set; }
|
|
||||||
|
|
||||||
public string SpecSecondValue { get; set; }
|
|
||||||
|
|
||||||
public string SpecThirdValue { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "图片不能为空")]
|
|
||||||
public string GoodsSkuImg { get; set; }
|
|
||||||
|
|
||||||
public string GoodsSkuSkuCode { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "价格不能为空")]
|
|
||||||
public decimal GoodsSkuPrice { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "划线价格不能为空")]
|
|
||||||
public decimal GoodsSkuLinePrice { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "当前库存数量不能为空")]
|
|
||||||
public int GoodsSkuStockNum { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品重量(Kg)不能为空")]
|
|
||||||
public decimal GoodsSkuWeight { get; set; }
|
|
||||||
|
|
||||||
public string GoodsSkuProps { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsSkuQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,50 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSpecRels;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsSpecs.GoodsSpecRels
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品与规格值关系记录输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsSpecRelDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int GoodsSpecRelId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品Guid不能为空")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "规格组ID不能为空")]
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "规格值ID不能为空")]
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品与规格值关系记录查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsSpecRelQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,47 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsSpecs.SpecValues;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsSpecs.SpecValues
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格值输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class SpecValueDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "规格组ID不能为空")]
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "规格值名称不能为空")]
|
|
||||||
public string SpecName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格值查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class SpecValueQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsSpecs.Specs;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.GoodsSpecs.Specs
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格组输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class SpecDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "规格值名称不能为空")]
|
|
||||||
public string SpecValueName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格组查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class SpecQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,228 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Reflection.Metadata.Ecma335;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.Goodss;
|
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure;
|
|
||||||
using MimeKit;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int GoodsId { get; set; }
|
|
||||||
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品类目guid不能为空")]
|
|
||||||
public long ShopGoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
public string GoodsSkuIds { get; set; }
|
|
||||||
|
|
||||||
public string GoodsServicesIds { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格
|
|
||||||
/// </summary>
|
|
||||||
public List<GoodsSpecDto> GoodsSpecList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品sku列表
|
|
||||||
/// </summary>
|
|
||||||
public List<SkuDto> SkuList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "配送模板guid不能为空")]
|
|
||||||
public long DeliveryGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "名称不能为空")]
|
|
||||||
public string GoodsName { get; set; }
|
|
||||||
|
|
||||||
public string GoodsCoding { get; set; }
|
|
||||||
|
|
||||||
public string GoodsMainImageVideo { get; set; }
|
|
||||||
|
|
||||||
public string GoodsVideoCover { get; set; }
|
|
||||||
|
|
||||||
public string GoodsSellingPoint { get; set; }
|
|
||||||
|
|
||||||
public int GoodsSpecType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "图片不能为空")]
|
|
||||||
public string GoodsPicture { get; set; }
|
|
||||||
|
|
||||||
public decimal GoodsWeight { get; set; }
|
|
||||||
|
|
||||||
public decimal GoodsPriceLowest { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "价格(最高)不能为空")]
|
|
||||||
public decimal GoodsPriceHighest { get; set; }
|
|
||||||
|
|
||||||
public decimal GoodsDashedPriceLowest { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "划线价格(最高)不能为空")]
|
|
||||||
public decimal GoodsDashedPriceHighest { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "库存总量不能为空")]
|
|
||||||
public int GoodsTotalInventory { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "初始销量不能为空")]
|
|
||||||
public int GoodsSalesInitial { get; set; }
|
|
||||||
|
|
||||||
public int GoodsSalesActual { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "详情不能为空")]
|
|
||||||
public string GoodsDetails { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "库存计算方式不能为空")]
|
|
||||||
public int GoodsDeductStockType { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "是否赠送积分不能为空")]
|
|
||||||
public int GoodsIsPointsGift { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "是否允许使用积分抵扣不能为空")]
|
|
||||||
public int GoodsIsPointsDiscount { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "积分抵扣设置不能为空")]
|
|
||||||
public int GoodsIsAlonePointsDiscount { get; set; }
|
|
||||||
|
|
||||||
public string GoodsPointsDiscountConfig { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "是否开启会员折扣能为空")]
|
|
||||||
public int GoodsIsEnableGrade { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "会员折扣设置不能为空")]
|
|
||||||
public int GoodsIsAloneGrade { get; set; }
|
|
||||||
|
|
||||||
public string GoodsAloneGradeEquity { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "上下架状态不能为空")]
|
|
||||||
public int GoodsShelfStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int GoodsSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-28
|
|
||||||
/// 上下架对象
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsShelfDto
|
|
||||||
{
|
|
||||||
public int GoodsShelfStatus { get; set; }
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
|
|
||||||
public long? GoodsCategoryGuid { get; set; }
|
|
||||||
public long? ShopGoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
public string GoodsName { get; set; }
|
|
||||||
|
|
||||||
public string GoodsCoding { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格组对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-24
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsSpecDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
public string SpecName { get; set; }
|
|
||||||
|
|
||||||
public List<GoodsSpecValueDto> Props { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格值列表对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-24
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsSpecValueDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
|
|
||||||
public string SpecValueName { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品sku列表对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-24
|
|
||||||
/// </summary>
|
|
||||||
public class SkuDto
|
|
||||||
{
|
|
||||||
public int GoodsSkuId { get; set; }
|
|
||||||
|
|
||||||
public string SpecValue{ get; set; }
|
|
||||||
|
|
||||||
public string SpecSecondValue { get; set; }
|
|
||||||
|
|
||||||
public string SpecThirdValue { get; set; }
|
|
||||||
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
public string GoodsSkuImg { get; set; }
|
|
||||||
|
|
||||||
public decimal GoodsSkuPrice { get; set; }
|
|
||||||
|
|
||||||
public decimal GoodsSkuLinePrice { get; set; }
|
|
||||||
|
|
||||||
public int GoodsSkuStockNum { get; set; }
|
|
||||||
|
|
||||||
public decimal GoodsSkuWeight { get; set; }
|
|
||||||
|
|
||||||
public string GoodsSkuSkuCode { get;set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,69 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.ShopGoodsCategorys;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.GoodsManager.ShopGoodsCategorys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺商品类目输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-15
|
|
||||||
/// </summary>
|
|
||||||
public class ShopGoodsCategoryDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int ShopGoodsCategoryId { get; set; }
|
|
||||||
|
|
||||||
public long ShopGoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "上级类目不能为空")]
|
|
||||||
public long ShopGoodsCategoryParentGuid { get; set; }
|
|
||||||
|
|
||||||
public string ShopGoodsCategoryAncestralGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "名称不能为空")]
|
|
||||||
public string ShopGoodsCategoryName { get; set; }
|
|
||||||
|
|
||||||
public string ShopGoodsCategoryImg { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "显示状态不能为空")]
|
|
||||||
public int ShopGoodsCategoryDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "是否为热门不能为空")]
|
|
||||||
public int ShopGoodsCategoryIsPopular { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int ShopGoodsCategorySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺商品类目查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-15
|
|
||||||
/// </summary>
|
|
||||||
public class ShopGoodsCategoryQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
public long ShopGuid { get; set;}
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
public string ShopGoodsCategoryName { get; set; }
|
|
||||||
|
|
||||||
public int? ShopGoodsCategoryDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,66 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.LogisticsManage.DeliveryRules;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.LogisticsManage.DeliveryRules
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 配送模板区域及运费输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-16
|
|
||||||
/// </summary>
|
|
||||||
public class DeliveryRuleDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int DeliveryRuleId { get; set; }
|
|
||||||
|
|
||||||
public long DeliveryRuleGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "配送模板guid不能为空")]
|
|
||||||
public long DeliveryGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "可配送区域(城市id集)不能为空")]
|
|
||||||
public string DeliveryRuleRegion { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "可配送区域(文字展示)不能为空")]
|
|
||||||
public string DeliveryRuleRegionText { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "首件(个)/首重(Kg)不能为空")]
|
|
||||||
public decimal DeliveryRuleFirst { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "运费(元)不能为空")]
|
|
||||||
public decimal DeliveryRuleFirstFee { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "续件/续重不能为空")]
|
|
||||||
public decimal DeliveryRuleAdditional { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "续费(元)不能为空")]
|
|
||||||
public decimal DeliveryRuleAdditionalFee { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 配送模板区域及运费查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-16
|
|
||||||
/// </summary>
|
|
||||||
public class DeliveryRuleQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long? DeliveryGuid { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,77 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.LogisticsManage.DeliveryRules;
|
|
||||||
using ARW.Model.Models.Business.LogisticsManage.Deliverys;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.LogisticsManage.Deliverys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 配送模板输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-16
|
|
||||||
/// </summary>
|
|
||||||
public class DeliveryDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int DeliveryId { get; set; }
|
|
||||||
|
|
||||||
public long DeliveryGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "店铺guid不能为空")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "模板名称不能为空")]
|
|
||||||
public string DeliveryName { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "计费方式不能为空")]
|
|
||||||
public int DeliveryBillingMethod { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "配送区域及运费不能为空")]
|
|
||||||
public List<DeliveryRule> DeliveryRuleDataList { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int DeliverySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 配送模板查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-16
|
|
||||||
/// </summary>
|
|
||||||
public class DeliveryQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long? ShopGuid { get; set; }
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
|
|
||||||
public string DeliveryName { get; set; }
|
|
||||||
|
|
||||||
public int? DeliveryBillingMethod { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 配送模板的配送区域和运费查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-16
|
|
||||||
/// </summary>
|
|
||||||
public class DeliveryRuleEditDto
|
|
||||||
{
|
|
||||||
public long DeliveryGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.LogisticsManage.LogisticsCompanys;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.LogisticsManage.LogisticsCompanys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 物流公司输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
public class LogisticsCompanyDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int LogisticsCompanyId { get; set; }
|
|
||||||
|
|
||||||
public long LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "物流公司名称不能为空")]
|
|
||||||
public string LogisticsCompanyName { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "物流公司编码不能为空")]
|
|
||||||
public string LogisticsCompanyCode { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int LogisticsCompanySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 物流公司查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
public class LogisticsCompanyQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string LogisticsCompanyName { get; set; }
|
|
||||||
|
|
||||||
public string LogisticsCompanyCode { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,101 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Marketing.CouponManage.Coupons;
|
|
||||||
using MimeKit;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.Marketing.CouponManage.Coupons
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-24
|
|
||||||
/// </summary>
|
|
||||||
public class CouponDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int CouponId { get; set; }
|
|
||||||
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "优惠劵名称不能为空")]
|
|
||||||
public string CouponName { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "优惠劵介绍不能为空")]
|
|
||||||
public string CouponDesc { get; set; }
|
|
||||||
public string CouponUseIntro { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "优惠劵类型不能为空")]
|
|
||||||
public int CouponType { get; set; }
|
|
||||||
|
|
||||||
public decimal CouponDeductionMoney { get; set; }
|
|
||||||
|
|
||||||
public byte CouponDiscountRate { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "最低消费金额不能为空")]
|
|
||||||
public decimal CouponMinConsumeMoney { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "到期类型不能为空")]
|
|
||||||
public int CouponExpireType { get; set; }
|
|
||||||
|
|
||||||
public int? CouponEffectiveDays { get; set; }
|
|
||||||
|
|
||||||
public DateTime CouponFixedStartTime { get; set; }
|
|
||||||
|
|
||||||
public DateTime CouponFixedEndTime { get; set; }
|
|
||||||
|
|
||||||
public int? CouponApplicableScope { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "发送数量(-1不限制)不能为空")]
|
|
||||||
public int CouponSendNumber { get; set; }
|
|
||||||
|
|
||||||
public int? CouponGetNumber { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "显示状态不能为空")]
|
|
||||||
public int CouponDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "排序不能为空")]
|
|
||||||
public int CouponSort { get; set; }
|
|
||||||
|
|
||||||
public string CouponApplicableScopeConfig { get; set; }
|
|
||||||
public string CouponGoodsIds { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-24
|
|
||||||
/// </summary>
|
|
||||||
public class CouponQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public string CouponName { get; set; }
|
|
||||||
|
|
||||||
public int? CouponType { get; set; }
|
|
||||||
|
|
||||||
public int? CouponExpireType { get; set; }
|
|
||||||
|
|
||||||
public int? CouponApplicableScope { get; set; }
|
|
||||||
|
|
||||||
public int? CouponDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.Marketing.CouponManage.CustomerCoupons;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.Marketing.CouponManage.CustomerCoupons
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 领券记录输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-31
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerCouponDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int CustomerCouponId { get; set; }
|
|
||||||
|
|
||||||
public long CustomerCouponGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "优惠劵guid不能为空")]
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
public int CustomerCouponIsExpired { get; set; }
|
|
||||||
|
|
||||||
public int CustomerCouponIsUsed { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 领券记录查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-31
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerCouponQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public int? CustomerCouponIsExpired { get; set; }
|
|
||||||
|
|
||||||
public int? CustomerCouponIsUsed { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,70 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderCustomerAddreses;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.OrderCustomerAddreses
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单收货地址记录输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderCustomerAddressDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int OrderCustomerAddressId { get; set; }
|
|
||||||
|
|
||||||
public long OrderCustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单guid不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "客户guid不能为空")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "客户地址guid不能为空")]
|
|
||||||
public long CustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "收货人姓名不能为空")]
|
|
||||||
public string ConsigneeName { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "联系电话不能为空")]
|
|
||||||
public string Phont { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "省份ID不能为空")]
|
|
||||||
public int ProvinceId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "城市ID不能为空")]
|
|
||||||
public int CityId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "区/县ID不能为空")]
|
|
||||||
public int RegionId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "详细地址不能为空")]
|
|
||||||
public string Detail { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单收货地址记录查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderCustomerAddressQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderGoodss;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.OrderGoodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单商品记录输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
public class OrderGoodsDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int OrderGoodsId { get; set; }
|
|
||||||
|
|
||||||
public long OrderGoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单guid不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品guid不能为空")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsSkuId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品单价不能为空")]
|
|
||||||
public decimal GoodsPrice { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品购买数量不能为空")]
|
|
||||||
public int GoodsTotalNum { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品总额(单价 × 数量)不能为空")]
|
|
||||||
public decimal GoodsTotalAmoun { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单商品记录查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
public class OrderGoodsQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,31 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderRefunds;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-17
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundAuditDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "售后单guid不能为空!")]
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsAgree { get; set; }
|
|
||||||
|
|
||||||
public string MerchantRefuseDesc { get; set; }
|
|
||||||
|
|
||||||
public long? ShopAddressGuid { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderRefunds;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单详情记录表输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-16
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundDetailsDto
|
|
||||||
{
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,100 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.OrderRefunds;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单guid不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "客户guid不能为空")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "售后类型(1退货退款 2退货(无需退款) 3换货)不能为空")]
|
|
||||||
public int RefundType { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "客户退货原因不能为空")]
|
|
||||||
public int RefundReason { get; set; }
|
|
||||||
|
|
||||||
public string CustomerRefundDesc { get; set; }
|
|
||||||
|
|
||||||
public string CustomerRefundImg { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品收货状态(1未收到货 2已收到货)不能为空")]
|
|
||||||
public int GoodsReceiveStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商家审核状态(1待审核 2已同意 3已拒绝)不能为空")]
|
|
||||||
public int MerchantAuditStatus { get; set; }
|
|
||||||
|
|
||||||
public string MerchantRefuseDesc { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "实际退款金额不能为空")]
|
|
||||||
public decimal RefundMoney { get; set; }
|
|
||||||
|
|
||||||
public long? ShopRefundAddressGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "用户是否发货(1未发货 2已发货)不能为空")]
|
|
||||||
public int IsCustomerSend { get; set; }
|
|
||||||
|
|
||||||
public DateTime? CustomerSendTime { get; set; }
|
|
||||||
|
|
||||||
public long? LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
public string ExpressNo { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "售后单状态(1进行中 2已拒绝 3已完成 4已取消)不能为空")]
|
|
||||||
public int OrderRefundStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public int? RefundType { get; set; }
|
|
||||||
|
|
||||||
public int? RefundReason { get; set; }
|
|
||||||
|
|
||||||
public int? GoodsReceiveStatus { get; set; }
|
|
||||||
|
|
||||||
public int? MerchantAuditStatus { get; set; }
|
|
||||||
|
|
||||||
public int? IsCustomerSend { get; set; }
|
|
||||||
|
|
||||||
public int? OrderRefundStatus { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
|
|
||||||
public DateTime BeginTime { get; set; }
|
|
||||||
|
|
||||||
public DateTime EndTime { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 审核取消订单输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderCancelOrderDto
|
|
||||||
{
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
public bool IsAgree { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单改价输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderChangePriceDto
|
|
||||||
{
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
public decimal OrderAmount { get; set; }
|
|
||||||
|
|
||||||
public decimal ExpressPrice { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单发货输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderDeliverDto
|
|
||||||
{
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
public long? LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
public string LogisticsCompany { get; set; }
|
|
||||||
|
|
||||||
public string LogisticsTrackingNumber { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,155 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderManage.Orders;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int OrderId { get; set; }
|
|
||||||
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品guid不能为空")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单流水guid不能为空")]
|
|
||||||
public long PaymentGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "客户guid不能为空")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
public long? ShopGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单号不能为空")]
|
|
||||||
public string OrderNumber { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "商品总金额不能为空")]
|
|
||||||
public decimal GoodsTotalAmoun { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单金额不能为空")]
|
|
||||||
public decimal OrderAmount { get; set; }
|
|
||||||
|
|
||||||
public long? CouponGuid { get; set; }
|
|
||||||
|
|
||||||
public decimal CouponMoney { get; set; }
|
|
||||||
|
|
||||||
public decimal PointsMoney { get; set; }
|
|
||||||
|
|
||||||
public decimal PointsNum { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "实际付款金额(包含运费)不能为空")]
|
|
||||||
public decimal PayPrice { get; set; }
|
|
||||||
|
|
||||||
public decimal UpdatePrice { get; set; }
|
|
||||||
|
|
||||||
public string OrderRemark { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "支付方式(1微信支付 2余额支付)不能为空")]
|
|
||||||
public int PayType { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "付款状态(1未付款 2已付款)不能为空")]
|
|
||||||
public int PayStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "付款时间不能为空")]
|
|
||||||
public DateTime? PayTime { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "配送方式(1快递配送)不能为空")]
|
|
||||||
public int DeliveryType { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "运费金额不能为空")]
|
|
||||||
public decimal ExpressPrice { get; set; }
|
|
||||||
|
|
||||||
public long? LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
public string LogisticsCompany { get; set; }
|
|
||||||
|
|
||||||
public string LogisticsTrackingNumber { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "发货状态(1未发货 2已发货)不能为空")]
|
|
||||||
public int DeliveryStatus { get; set; }
|
|
||||||
|
|
||||||
public DateTime? DeliveryTime { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "收货状态(1未收货 2已收货)不能为空")]
|
|
||||||
public int ReceiptStatus { get; set; }
|
|
||||||
|
|
||||||
public DateTime? ReceiptTime { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单状态(1进行中 2取消 3待取消 4已完成)不能为空")]
|
|
||||||
public int OrderStatus { get; set; }
|
|
||||||
|
|
||||||
public decimal PointsBonus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单是否已结算(1未结算 2已结算)不能为空")]
|
|
||||||
public int IsSettled { get; set; }
|
|
||||||
|
|
||||||
public string TransactionId { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "是否已评价(1否 2是)不能为空")]
|
|
||||||
public int IsComment { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单来源(1普通订单)不能为空")]
|
|
||||||
public int OrderSource { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
public class OrderQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public string OrderNumber { get; set; }
|
|
||||||
|
|
||||||
public int? PayType { get; set; }
|
|
||||||
|
|
||||||
public int? PayStatus { get; set; }
|
|
||||||
|
|
||||||
public int? DeliveryType { get; set; }
|
|
||||||
|
|
||||||
public string LogisticsTrackingNumber { get; set; }
|
|
||||||
|
|
||||||
public int? DeliveryStatus { get; set; }
|
|
||||||
|
|
||||||
public int? ReceiptStatus { get; set; }
|
|
||||||
|
|
||||||
public int? OrderStatus { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
|
|
||||||
public DateTime BeginTime { get; set; }
|
|
||||||
|
|
||||||
public DateTime EndTime { get; set; }
|
|
||||||
|
|
||||||
public string CustomerNickNme { get; set; }
|
|
||||||
|
|
||||||
public string CustomerPhome { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public class OrderDetailDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int OrderId { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using ARW.Model.Models.Business.OrderTasks;
|
|
||||||
|
|
||||||
namespace ARW.Model.Dto.Business.OrderTasks
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单取消任务输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-23
|
|
||||||
/// </summary>
|
|
||||||
public class OrderTaskDto
|
|
||||||
{
|
|
||||||
|
|
||||||
public int OrderTaskId { get; set; }
|
|
||||||
|
|
||||||
public long OrderTaskGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "客户guid(外键)不能为空")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单guid(外键)不能为空")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单结束时间不能为空")]
|
|
||||||
public DateTime? EndTime { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单支付状态(1未支付 2已支付)不能为空")]
|
|
||||||
public int PayStatus { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "订单取消状态(1待取消 2已取消)不能为空")]
|
|
||||||
public int CancelStatus { get; set; }
|
|
||||||
|
|
||||||
public string ErrorMsg { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单取消任务查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-23
|
|
||||||
/// </summary>
|
|
||||||
public class OrderTaskQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,73 +0,0 @@
|
|||||||
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
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺地址输入对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-15
|
|
||||||
/// </summary>
|
|
||||||
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; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺地址查询对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-15
|
|
||||||
/// </summary>
|
|
||||||
public class ShopAddressQueryDto : PagerInfo
|
|
||||||
{
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
public int? ShopAddressType { get; set; }
|
|
||||||
|
|
||||||
public string ids { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,147 +0,0 @@
|
|||||||
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; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.Carts
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车记录,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-20
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_cart")]
|
|
||||||
public class Cart : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "cart_id")]
|
|
||||||
public int CartId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "cart_guid")]
|
|
||||||
public long CartGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户Guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_guid")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺Guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品Guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_guid")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品sku唯一标识
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_id")]
|
|
||||||
public int GoodsSkuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品数量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "cart_goods_num")]
|
|
||||||
public int CartGoodsNum { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否选中
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "is_selected")]
|
|
||||||
public bool IsSelected { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.Custom.CustomerAddresses
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 客户收货地址,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-06-05
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_customer_address")]
|
|
||||||
public class CustomerAddress : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "CustomerAddressId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "customer_address_id")]
|
|
||||||
public int CustomerAddressId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "CustomerAddressGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "customer_address_guid")]
|
|
||||||
public long CustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_customer_guid")]
|
|
||||||
public long CustomerAddressCustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :省id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "省id")]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_province_id")]
|
|
||||||
public int CustomerAddressProvinceId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :市id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "市id")]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_city_id")]
|
|
||||||
public int CustomerAddressCityId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :区id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "区id")]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_area_id")]
|
|
||||||
public int CustomerAddressAreaId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货人名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "收货人名称")]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_name")]
|
|
||||||
public string CustomerAddressName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货电话
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "收货电话")]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_phone")]
|
|
||||||
public string CustomerAddressPhone { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :详细地址
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "详细地址")]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_detailed")]
|
|
||||||
public string CustomerAddressDetailed { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,111 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsCategorys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品类目,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-12
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_goods_category")]
|
|
||||||
public class GoodsCategory : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "GoodsCategoryId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_category_id")]
|
|
||||||
public int GoodsCategoryId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "GoodsCategoryGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "goods_category_guid")]
|
|
||||||
public long GoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :父级guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "父级guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_category_parent_guid")]
|
|
||||||
public long GoodsCategoryParentGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :祖级guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "祖级guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_category_ancestral_guid")]
|
|
||||||
public string GoodsCategoryAncestralGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "名称")]
|
|
||||||
[SugarColumn(ColumnName = "goods_category_name")]
|
|
||||||
public string GoodsCategoryName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图片
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "图片")]
|
|
||||||
[SugarColumn(ColumnName = "goods_category_img")]
|
|
||||||
public string GoodsCategoryImg { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :显示状态
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "显示状态")]
|
|
||||||
[SugarColumn(ColumnName = "goods_category_display_status")]
|
|
||||||
public int GoodsCategoryDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否为热门
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "是否为热门")]
|
|
||||||
[SugarColumn(ColumnName = "goods_category_is_popular")]
|
|
||||||
public int? GoodsCategoryIsPopular { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "product_category_sort")]
|
|
||||||
public int ProductCategorySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<GoodsCategory> Children { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,150 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsComments
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品评价,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-07-15
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_goods_comment")]
|
|
||||||
public class GoodsComment : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_comment_id")]
|
|
||||||
public int GoodsCommentId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "goods_comment_guid")]
|
|
||||||
public long GoodsCommentGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_guid")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "order_guid")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_guid")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单商品guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "order_goods_guid")]
|
|
||||||
public long OrderGoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评分分数
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_rating")]
|
|
||||||
public float GoodsCommentRating { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评分类型
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_rating_type")]
|
|
||||||
public int GoodsCommentRatingType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评价内容
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_content")]
|
|
||||||
public string GoodsCommentContent { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评价图片
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_images")]
|
|
||||||
public string GoodsCommentImages { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :回复状态
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_recover_status")]
|
|
||||||
public int GoodsCommentRecoverStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :回复内容
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_recover_content")]
|
|
||||||
public string GoodsCommentRecoverContent { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :显示状态
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_status")]
|
|
||||||
public int GoodsCommentStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_comment_sort")]
|
|
||||||
public int GoodsCommentSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,98 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsServicess
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品服务与承诺,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_goods_services")]
|
|
||||||
public class GoodsServices : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "GoodsServicesId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_services_id")]
|
|
||||||
public int GoodsServicesId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "GoodsServicesGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "goods_services_guid")]
|
|
||||||
public long GoodsServicesGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "店铺guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :服务名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "服务名称")]
|
|
||||||
[SugarColumn(ColumnName = "goods_services_name")]
|
|
||||||
public string GoodsServicesName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :概述
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "概述")]
|
|
||||||
[SugarColumn(ColumnName = "goods_services_summary")]
|
|
||||||
public string GoodsServicesSummary { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否默认
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "是否默认")]
|
|
||||||
[SugarColumn(ColumnName = "goods_services_is_default")]
|
|
||||||
public int GoodsServicesIsDefault { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :显示状态
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "显示状态")]
|
|
||||||
[SugarColumn(ColumnName = "goods_services_display_status")]
|
|
||||||
public int GoodsServicesDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "goods_services_sort")]
|
|
||||||
public int GoodsServicesSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,59 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsServicess.GoodsServicesRels
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品服务与承诺关系表,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_goods_services_rel")]
|
|
||||||
public class GoodsServicesRel : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
||||||
public int Id { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_guid")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :服务与承诺id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "service_id")]
|
|
||||||
public int ServiceId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,121 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSkus
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_goods_sku")]
|
|
||||||
public class GoodsSku : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_sku_id")]
|
|
||||||
public int GoodsSkuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_guid")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :第一规格值ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_value_id")]
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :第二规格值ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_second_value_id")]
|
|
||||||
public int SpecSecondValueId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :第三规格值ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_third_value_id")]
|
|
||||||
public int SpecThirdValueId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图片
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_img")]
|
|
||||||
public string GoodsSkuImg { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :sku编码
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_sku_code")]
|
|
||||||
public string GoodsSkuSkuCode { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :价格
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_price")]
|
|
||||||
public decimal GoodsSkuPrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :划线价格
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_line_price")]
|
|
||||||
public decimal GoodsSkuLinePrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :当前库存数量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_stock_num")]
|
|
||||||
public int GoodsSkuStockNum { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品重量(Kg)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_weight")]
|
|
||||||
public decimal GoodsSkuWeight { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :SKU的规格属性(json格式)
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_props")]
|
|
||||||
public string GoodsSkuProps { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,57 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSpecRels
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品与规格值关系记录,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_goods_spec_rel")]
|
|
||||||
public class GoodsSpecRel : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_spec_rel_id")]
|
|
||||||
public int GoodsSpecRelId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品Guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_guid")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :规格组ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_id")]
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :规格值ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_value_id")]
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.SpecValues
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格值,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_spec_value")]
|
|
||||||
public class SpecValue : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "spec_value_id")]
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :规格组ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_id")]
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :规格值名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_value_name")]
|
|
||||||
public string SpecValueName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.Specs
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格组,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_spec")]
|
|
||||||
public class Spec : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "spec_id")]
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :规格值名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "spec_name")]
|
|
||||||
public string SpecName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :层级
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "level")]
|
|
||||||
public int Level { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,328 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using ARW.Model.Dto.Business.GoodsManager.Goodss;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-19
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_goods")]
|
|
||||||
public class Goods : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "GoodsId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "goods_id")]
|
|
||||||
public int GoodsId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "GoodsGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "goods_guid")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "店铺guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品类目guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商品类目guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_guid")]
|
|
||||||
public long ShopGoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品规格guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商品规格ids")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_ids")]
|
|
||||||
public string GoodsSkuIds { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :配送模板guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "配送模板guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "delivery_guid")]
|
|
||||||
public long DeliveryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "名称")]
|
|
||||||
[SugarColumn(ColumnName = "goods_name")]
|
|
||||||
public string GoodsName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :编码
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "编码")]
|
|
||||||
[SugarColumn(ColumnName = "goods_coding")]
|
|
||||||
public string GoodsCoding { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :主图视频
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "主图视频")]
|
|
||||||
[SugarColumn(ColumnName = "goods_main_image_video")]
|
|
||||||
public string GoodsMainImageVideo { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :视频封面
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "视频封面")]
|
|
||||||
[SugarColumn(ColumnName = "goods_video_cover")]
|
|
||||||
public string GoodsVideoCover { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图片
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "图片")]
|
|
||||||
[SugarColumn(ColumnName = "goods_picture")]
|
|
||||||
public string GoodsPicture { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :卖点
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "卖点")]
|
|
||||||
[SugarColumn(ColumnName = "goods_selling_point")]
|
|
||||||
public string GoodsSellingPoint { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品规格(1单规格 2多规格)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商品规格(1单规格 2多规格)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_spec_type")]
|
|
||||||
public int GoodsSpecType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :价格(最低)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "价格(最低)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_price_lowest")]
|
|
||||||
public decimal GoodsPriceLowest { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :价格(最高)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "价格(最高)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_price_highest")]
|
|
||||||
public decimal GoodsPriceHighest { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品重量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商品重量")]
|
|
||||||
[SugarColumn(ColumnName = "goods_weight")]
|
|
||||||
public decimal GoodsWeight { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :划线价格(最低)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "划线价格(最低)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_dashed_price_lowest")]
|
|
||||||
public decimal GoodsDashedPriceLowest { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :划线价格(最高)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "划线价格(最高)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_dashed_price_highest")]
|
|
||||||
public decimal GoodsDashedPriceHighest { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :库存总量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "库存总量")]
|
|
||||||
[SugarColumn(ColumnName = "goods_total_inventory")]
|
|
||||||
public int GoodsTotalInventory { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :初始销量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "初始销量")]
|
|
||||||
[SugarColumn(ColumnName = "goods_sales_initial")]
|
|
||||||
public int GoodsSalesInitial { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :实际销量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "实际销量")]
|
|
||||||
[SugarColumn(ColumnName = "goods_sales_actual")]
|
|
||||||
public int GoodsSalesActual { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :详情
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "详情")]
|
|
||||||
[SugarColumn(ColumnName = "goods_details")]
|
|
||||||
public string GoodsDetails { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :库存计算方式(1下单立减库存 2付款立减库存)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "库存计算方式(1下单立减库存 2付款立减库存)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_deduct_stock_type")]
|
|
||||||
public int GoodsDeductStockType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否赠送积分(1开启 0关闭)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "是否赠送积分(1开启 0关闭)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_is_points_gift")]
|
|
||||||
public int GoodsIsPointsGift { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否允许使用积分抵扣(1允许 0不允许)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "是否允许使用积分抵扣(1允许 0不允许)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_is_points_discount")]
|
|
||||||
public int GoodsIsPointsDiscount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :积分抵扣设置(0默认抵扣 1单独设置抵扣)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "积分抵扣设置(0默认抵扣 1单独设置抵扣)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_is_alone_points_discount")]
|
|
||||||
public int GoodsIsAlonePointsDiscount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :单独设置积分抵扣的配置
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "单独设置积分抵扣的配置")]
|
|
||||||
[SugarColumn(ColumnName = "goods_points_discount_config")]
|
|
||||||
public string GoodsPointsDiscountConfig { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否开启会员折扣(1开启 0关闭)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "是否开启会员折扣(1开启 0关闭)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_is_enable_grade")]
|
|
||||||
public int GoodsIsEnableGrade { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :会员折扣设置(0默认等级折扣 1单独设置折扣)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "会员折扣设置(0默认等级折扣 1单独设置折扣)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_is_alone_grade")]
|
|
||||||
public int GoodsIsAloneGrade { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :单独设置折扣的配置
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "单独设置折扣的配置")]
|
|
||||||
[SugarColumn(ColumnName = "goods_alone_grade_equity")]
|
|
||||||
public string GoodsAloneGradeEquity { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :上下架状态(1上架 2下架)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "上下架状态(1上架 2下架)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_shelf_status")]
|
|
||||||
public int GoodsShelfStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "goods_sort")]
|
|
||||||
public int GoodsSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public string GoodsServicesIds { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<GoodsSpecDto> GoodsSpecList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品sku列表
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<SkuDto> SkuList { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,121 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.GoodsManager.ShopGoodsCategorys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺商品类目,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-15
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_shop_goods_category")]
|
|
||||||
public class ShopGoodsCategory : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "ShopGoodsCategoryId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "shop_goods_category_id")]
|
|
||||||
public int ShopGoodsCategoryId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "ShopGoodsCategoryGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "shop_goods_category_guid")]
|
|
||||||
public long ShopGoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "店铺guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :父级guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "父级guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_parent_guid")]
|
|
||||||
public long ShopGoodsCategoryParentGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :祖级guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "祖级guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_ancestral_guid")]
|
|
||||||
public string ShopGoodsCategoryAncestralGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "名称")]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_name")]
|
|
||||||
public string ShopGoodsCategoryName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图标
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "图标")]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_img")]
|
|
||||||
public string ShopGoodsCategoryImg { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否为热门
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "是否为热门")]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_is_popular")]
|
|
||||||
public int ShopGoodsCategoryIsPopular { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :显示状态
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "显示状态")]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_display_status")]
|
|
||||||
public int ShopGoodsCategoryDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "shop_goods_category_sort")]
|
|
||||||
public int ShopGoodsCategorySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<ShopGoodsCategory> Children { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,98 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.LogisticsManage.DeliveryRules
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 配送模板区域及运费,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-16
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_delivery_rule")]
|
|
||||||
public class DeliveryRule : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "delivery_rule_id")]
|
|
||||||
public int DeliveryRuleId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "delivery_rule_guid")]
|
|
||||||
public long DeliveryRuleGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :配送模板guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "delivery_guid")]
|
|
||||||
public long DeliveryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :可配送区域(城市id集)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "delivery_rule_region")]
|
|
||||||
public string DeliveryRuleRegion { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :可配送区域(文字展示)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "delivery_rule_region_text")]
|
|
||||||
public string DeliveryRuleRegionText { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :首件(个)/首重(Kg)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "delivery_rule_first")]
|
|
||||||
public decimal DeliveryRuleFirst { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :运费(元)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "delivery_rule_first_fee")]
|
|
||||||
public decimal DeliveryRuleFirstFee { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :续件/续重
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "delivery_rule_additional")]
|
|
||||||
public decimal DeliveryRuleAdditional { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :续费(元)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "delivery_rule_additional_fee")]
|
|
||||||
public decimal DeliveryRuleAdditionalFee { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,82 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using ARW.Model.Models.Business.LogisticsManage.DeliveryRules;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.LogisticsManage.Deliverys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 配送模板,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-16
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_delivery")]
|
|
||||||
public class Delivery : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "DeliveryId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "delivery_id")]
|
|
||||||
public int DeliveryId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "DeliveryGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "delivery_guid")]
|
|
||||||
public long DeliveryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "店铺guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :模板名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "模板名称")]
|
|
||||||
[SugarColumn(ColumnName = "delivery_name")]
|
|
||||||
public string DeliveryName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :计费方式
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "计费方式")]
|
|
||||||
[SugarColumn(ColumnName = "delivery_billing_method")]
|
|
||||||
public int DeliveryBillingMethod { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "delivery_sort")]
|
|
||||||
public int DeliverySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<DeliveryRule> DeliveryRuleDataList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,70 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.LogisticsManage.LogisticsCompanys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 物流公司,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-18
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_logistics_company")]
|
|
||||||
public class LogisticsCompany : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "LogisticsCompanyId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "logistics_company_id")]
|
|
||||||
public int LogisticsCompanyId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "LogisticsCompanyGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "logistics_company_guid")]
|
|
||||||
public long LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :物流公司名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "物流公司名称")]
|
|
||||||
[SugarColumn(ColumnName = "logistics_company_name")]
|
|
||||||
public string LogisticsCompanyName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :物流公司编码
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "物流公司编码")]
|
|
||||||
[SugarColumn(ColumnName = "logistics_company_code")]
|
|
||||||
public string LogisticsCompanyCode { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "logistics_company_sort")]
|
|
||||||
public int LogisticsCompanySort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,216 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.Marketing.CouponManage.Coupons
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-24
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_coupon")]
|
|
||||||
public class Coupon : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "CouponId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "coupon_id")]
|
|
||||||
public int CouponId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "CouponGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "coupon_guid")]
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠劵名称")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_name")]
|
|
||||||
public string CouponName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵介绍
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠劵介绍")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_desc")]
|
|
||||||
public string CouponDesc { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵使用须知
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠劵使用须知")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_use_intro")]
|
|
||||||
public string CouponUseIntro { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵类型
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠劵类型")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_type")]
|
|
||||||
public int CouponType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :减免金额
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "减免金额")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_deduction_money")]
|
|
||||||
public decimal CouponDeductionMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :折扣率
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "折扣率")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_discount_rate")]
|
|
||||||
public float CouponDiscountRate { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :最低消费金额
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "最低消费金额")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_min_consume_money")]
|
|
||||||
public decimal CouponMinConsumeMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :到期类型
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "到期类型")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_expire_type")]
|
|
||||||
public int CouponExpireType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :有效天数
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "有效天数")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_effective_days")]
|
|
||||||
public int CouponEffectiveDays { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :固定时间-开始时间
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "固定时间-开始时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_fixed_start_time")]
|
|
||||||
public DateTime CouponFixedStartTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :固定时间-结束时间
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "固定时间-结束时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_fixed_end_time")]
|
|
||||||
public DateTime CouponFixedEndTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :适用范围
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "适用范围")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_applicable_scope")]
|
|
||||||
public int CouponApplicableScope { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :适用范围配置(json)
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "适用范围配置(json)")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_applicable_scope_config")]
|
|
||||||
public string CouponApplicableScopeConfig { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :适用范围(指定商品的Id集)
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "适用范围(指定商品的Id集)")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_goods_ids")]
|
|
||||||
public string CouponGoodsIds { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :发送数量(-1不限制)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "发送数量(-1不限制)")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_send_number")]
|
|
||||||
public int CouponSendNumber { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :已领取数量
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "已领取数量")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_get_number")]
|
|
||||||
public int CouponGetNumber { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :显示状态
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "显示状态")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_display_status")]
|
|
||||||
public int CouponDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_sort")]
|
|
||||||
public int CouponSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠券状态(1: 正常 2: 失效)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠券状态")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_status")]
|
|
||||||
public int CouponStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,75 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.Marketing.CouponManage.CustomerCoupons
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 领券记录,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-31
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_customer_coupon")]
|
|
||||||
public class CustomerCoupon : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "customer_coupon_id")]
|
|
||||||
public int CustomerCouponId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "customer_coupon_guid")]
|
|
||||||
public long CustomerCouponGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "coupon_guid")]
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_guid")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否过期
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "customer_coupon_is_expired")]
|
|
||||||
public int CustomerCouponIsExpired { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否已使用
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "customer_coupon_is_used")]
|
|
||||||
public int CustomerCouponIsUsed { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,114 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.OrderManage.OrderCustomerAddreses
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单收货地址记录,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_order_customer_address")]
|
|
||||||
public class OrderCustomerAddress : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "order_customer_address_id")]
|
|
||||||
public int OrderCustomerAddressId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "order_customer_address_guid")]
|
|
||||||
public long OrderCustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "order_guid")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_guid")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户地址guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_address_guid")]
|
|
||||||
public long CustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货人姓名
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "consignee_name")]
|
|
||||||
public string ConsigneeName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :联系电话
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
public string Phont { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :省份ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "province_id")]
|
|
||||||
public int ProvinceId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :城市ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "city_id")]
|
|
||||||
public int CityId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :区/县ID
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "region_id")]
|
|
||||||
public int RegionId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :详细地址
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
public string Detail { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.OrderManage.OrderGoodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单商品记录,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_order_goods")]
|
|
||||||
public class OrderGoods : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "order_goods_id")]
|
|
||||||
public int OrderGoodsId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "order_goods_guid")]
|
|
||||||
public long OrderGoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "order_guid")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "goods_guid")]
|
|
||||||
public long GoodsGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品sku唯一标识
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_sku_id")]
|
|
||||||
public int? GoodsSkuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品单价
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_price")]
|
|
||||||
public decimal GoodsPrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品购买数量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_total_num")]
|
|
||||||
public int GoodsTotalNum { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品总额(单价 × 数量)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "goods_total_amoun")]
|
|
||||||
public decimal GoodsTotalAmoun { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,235 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_order_refund")]
|
|
||||||
public class OrderRefund : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "OrderRefundId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "order_refund_id")]
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "OrderRefundGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "order_refund_guid")]
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "店铺guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "订单guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "order_guid")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_guid")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :售后类型(1退货退款 2退款(无需退货) 3换货)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "售后类型(1退货退款 2退款(无需退货) 3换货)")]
|
|
||||||
[SugarColumn(ColumnName = "refund_type")]
|
|
||||||
public int RefundType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户退货原因
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户退货原因")]
|
|
||||||
[SugarColumn(ColumnName = "refund_reason")]
|
|
||||||
public int RefundReason { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户退款说明
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户退款说明")]
|
|
||||||
[SugarColumn(ColumnName = "customer_refund_desc")]
|
|
||||||
public string CustomerRefundDesc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户退款凭证
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户退款凭证")]
|
|
||||||
[SugarColumn(ColumnName = "customer_refund_img")]
|
|
||||||
public string CustomerRefundImg { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品收货状态(1未收到货 2已收到货)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商品收货状态(1未收到货 2已收到货)")]
|
|
||||||
[SugarColumn(ColumnName = "goods_receive_status")]
|
|
||||||
public int GoodsReceiveStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商家审核状态(1待审核 2已同意 3已拒绝)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商家审核状态(1待审核 2已同意 3已拒绝)")]
|
|
||||||
[SugarColumn(ColumnName = "merchant_audit_status")]
|
|
||||||
public int MerchantAuditStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商家拒绝原因(说明)
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商家拒绝原因(说明)")]
|
|
||||||
[SugarColumn(ColumnName = "merchant_refuse_desc")]
|
|
||||||
public string MerchantRefuseDesc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :退款金额
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "退款金额")]
|
|
||||||
[SugarColumn(ColumnName = "refund_money")]
|
|
||||||
public decimal RefundMoney { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :实际退款金额
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "实际退款金额")]
|
|
||||||
[SugarColumn(ColumnName = "refund_actual_money")]
|
|
||||||
public decimal RefundActualMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商家退货地址guid
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商家退货地址guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_refund_address_guid")]
|
|
||||||
public long? ShopRefundAddressGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :用户是否发货(1未发货 2已发货)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "用户是否发货(1未发货 2已发货)")]
|
|
||||||
[SugarColumn(ColumnName = "is_customer_send")]
|
|
||||||
public int IsCustomerSend { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户发货时间
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户发货时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
|
||||||
[SugarColumn(ColumnName = "customer_send_time")]
|
|
||||||
public DateTime? CustomerSendTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商家是否收货(1未收货 2已收货)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商家是否收货(1未收货 2已收货)")]
|
|
||||||
[SugarColumn(ColumnName = "is_merchant_receive")]
|
|
||||||
public int IsMerchantReceive { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商家收货时间
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商家收货时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
|
||||||
[SugarColumn(ColumnName = "merchant_receive_time")]
|
|
||||||
public DateTime? MerchantReceiveTime { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户发货物流公司guid
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户发货物流公司guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "logistics_company_guid")]
|
|
||||||
public long? LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户发货物流单号
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户发货物流单号")]
|
|
||||||
[SugarColumn(ColumnName = "express_no")]
|
|
||||||
public string ExpressNo { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户发货备注
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户发货备注")]
|
|
||||||
[SugarColumn(ColumnName = "customer_waybill_remark")]
|
|
||||||
public string CustomerWaybillRemark { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :售后单状态(1进行中 2已拒绝 3已完成 4已取消)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "售后单状态(1进行中 2已拒绝 3已完成 4已取消)")]
|
|
||||||
[SugarColumn(ColumnName = "order_refund_status")]
|
|
||||||
public int OrderRefundStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,331 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-29
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_order")]
|
|
||||||
public class Order : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "OrderId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "order_id")]
|
|
||||||
public int OrderId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "OrderGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "order_guid")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单流水guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "订单流水guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "payment_guid")]
|
|
||||||
public long PaymentGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_guid")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "店铺guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :购物车Id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "购物车Id")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "cart_ids")]
|
|
||||||
public string CartIds { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单号
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "订单号")]
|
|
||||||
[SugarColumn(ColumnName = "order_number")]
|
|
||||||
public string OrderNumber { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品总金额
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "商品总金额")]
|
|
||||||
[SugarColumn(ColumnName = "goods_total_amoun")]
|
|
||||||
public decimal GoodsTotalAmoun { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单金额
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "订单金额")]
|
|
||||||
[SugarColumn(ColumnName = "order_amount")]
|
|
||||||
public decimal OrderAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠券guid
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠券guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "coupon_guid")]
|
|
||||||
public long? CouponGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠券抵扣金额
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠券抵扣金额")]
|
|
||||||
[SugarColumn(ColumnName = "coupon_money")]
|
|
||||||
public decimal CouponMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :积分抵扣金额
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "积分抵扣金额")]
|
|
||||||
[SugarColumn(ColumnName = "points_money")]
|
|
||||||
public decimal PointsMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :积分抵扣数量
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "积分抵扣数量")]
|
|
||||||
[SugarColumn(ColumnName = "points_num")]
|
|
||||||
public decimal PointsNum { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :实际付款金额(包含运费)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "实际付款金额(包含运费)")]
|
|
||||||
[SugarColumn(ColumnName = "pay_price")]
|
|
||||||
public decimal PayPrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :后台修改的订单金额(差价)
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "后台修改的订单金额(差价)")]
|
|
||||||
[SugarColumn(ColumnName = "update_price")]
|
|
||||||
public decimal UpdatePrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :买家留言
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "买家留言")]
|
|
||||||
[SugarColumn(ColumnName = "order_remark")]
|
|
||||||
public string OrderRemark { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :支付方式(1微信支付 2余额支付)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "支付方式(1微信支付 2余额支付)")]
|
|
||||||
[SugarColumn(ColumnName = "pay_type")]
|
|
||||||
public int PayType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :付款状态(1未付款 2已付款)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "付款状态(1未付款 2已付款)")]
|
|
||||||
[SugarColumn(ColumnName = "pay_status")]
|
|
||||||
public int PayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :付款时间
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "付款时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
|
||||||
[SugarColumn(ColumnName = "pay_time")]
|
|
||||||
public DateTime? PayTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :配送方式(1快递配送)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "配送方式(1快递配送)")]
|
|
||||||
[SugarColumn(ColumnName = "delivery_type")]
|
|
||||||
public int DeliveryType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :运费金额
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "运费金额")]
|
|
||||||
[SugarColumn(ColumnName = "express_price")]
|
|
||||||
public decimal ExpressPrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :物流公司guid
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "物流公司guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "logistics_company_guid")]
|
|
||||||
public long? LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :物流公司
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "物流公司")]
|
|
||||||
[SugarColumn(ColumnName = "logistics_company")]
|
|
||||||
public string LogisticsCompany { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :物流单号
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "物流单号")]
|
|
||||||
[SugarColumn(ColumnName = "logistics_tracking_number")]
|
|
||||||
public string LogisticsTrackingNumber { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :发货状态(1未发货 2已发货)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "发货状态(1未发货 2已发货)")]
|
|
||||||
[SugarColumn(ColumnName = "delivery_status")]
|
|
||||||
public int DeliveryStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :发货时间
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "发货时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
|
||||||
[SugarColumn(ColumnName = "delivery_time")]
|
|
||||||
public DateTime? DeliveryTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货状态(1未收货 2已收货)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "收货状态(1未收货 2已收货)")]
|
|
||||||
[SugarColumn(ColumnName = "receipt_status")]
|
|
||||||
public int ReceiptStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货时间
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "收货时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
|
||||||
[SugarColumn(ColumnName = "receipt_time")]
|
|
||||||
public DateTime? ReceiptTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单状态(1进行中 2取消 3待取消 4已完成)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "订单状态(1进行中 2取消 3待取消 4已完成)")]
|
|
||||||
[SugarColumn(ColumnName = "order_status")]
|
|
||||||
public int OrderStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :赠送的积分数量
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "赠送的积分数量")]
|
|
||||||
[SugarColumn(ColumnName = "points_bonus")]
|
|
||||||
public decimal PointsBonus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单是否已结算(1未结算 2已结算)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "订单是否已结算(1未结算 2已结算)")]
|
|
||||||
[SugarColumn(ColumnName = "is_settled")]
|
|
||||||
public int IsSettled { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :微信支付交易号
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "微信支付交易号")]
|
|
||||||
[SugarColumn(ColumnName = "transaction_id")]
|
|
||||||
public string TransactionId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否已评价(1否 2是)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "是否已评价(1否 2是)")]
|
|
||||||
[SugarColumn(ColumnName = "is_comment")]
|
|
||||||
public int IsComment { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单来源(1普通订单)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "订单来源(1普通订单)")]
|
|
||||||
[SugarColumn(ColumnName = "order_source")]
|
|
||||||
public int OrderSource { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.OrderTasks
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单取消任务,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-23
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_order_task")]
|
|
||||||
public class OrderTask : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单取消任务id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "order_task_id")]
|
|
||||||
public int OrderTaskId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单取消任务guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "order_task_guid")]
|
|
||||||
public long OrderTaskGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid(外键)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "customer_guid")]
|
|
||||||
public long CustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单guid(外键)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "order_guid")]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单结束时间
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "end_time")]
|
|
||||||
public DateTime? EndTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单支付状态(1未支付 2已支付)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "pay_status")]
|
|
||||||
public int PayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单取消状态(1待取消 2已取消)
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "cancel_status")]
|
|
||||||
public int CancelStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :失败原因
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[SugarColumn(ColumnName = "error_msg")]
|
|
||||||
public string ErrorMsg { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,122 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.ShopManager.ShopAddresss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺地址,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-15
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_shop_address")]
|
|
||||||
public class ShopAddress : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "ShopAddressId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "shop_address_id")]
|
|
||||||
public int ShopAddressId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "ShopAddressGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, ColumnName = "shop_address_guid")]
|
|
||||||
public long ShopAddressGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 店铺guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :地址类型
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "地址类型")]
|
|
||||||
[SugarColumn(ColumnName = "shop_address_type")]
|
|
||||||
public int ShopAddressType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :省id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "省id")]
|
|
||||||
[SugarColumn(ColumnName = "province_id")]
|
|
||||||
public int ProvinceId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :市id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "市id")]
|
|
||||||
[SugarColumn(ColumnName = "city_id")]
|
|
||||||
public int CityId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :区id
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "区id")]
|
|
||||||
[SugarColumn(ColumnName = "district_id")]
|
|
||||||
public int DistrictId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :联系人姓名
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "联系人姓名")]
|
|
||||||
[SugarColumn(ColumnName = "shop_address_contact_name")]
|
|
||||||
public string ShopAddressContactName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :联系电话
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "联系电话")]
|
|
||||||
[SugarColumn(ColumnName = "shop_address_contact_number")]
|
|
||||||
public string ShopAddressContactNumber { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :详细地址
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "详细地址")]
|
|
||||||
[SugarColumn(ColumnName = "shop_address_detailed_address")]
|
|
||||||
public string ShopAddressDetailedAddress { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "shop_address_sort")]
|
|
||||||
public int ShopAddressSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,145 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SqlSugar;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace ARW.Model.Models.Business.ShopManager.Shops
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺,数据实体对象
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-06-09
|
|
||||||
/// </summary>
|
|
||||||
[SugarTable("tb_shop")]
|
|
||||||
public class Shop : BusinessBase
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "ShopId")]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "shop_id")]
|
|
||||||
public int ShopId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "ShopGuid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "shop_guid")]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :用户id
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "用户id")]
|
|
||||||
[SugarColumn(ColumnName = "shop_user_id")]
|
|
||||||
public int? ShopUserId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户guid
|
|
||||||
/// 空值 : true
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "客户guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_customer_guid")]
|
|
||||||
public long? ShopCustomerGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :经营类目guid
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "经营类目guid")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_business_category_guid")]
|
|
||||||
public long ShopBusinessCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图标
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "图标")]
|
|
||||||
[SugarColumn(ColumnName = "shop_logo")]
|
|
||||||
public string ShopLogo { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :营业执照
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "营业执照")]
|
|
||||||
[SugarColumn(ColumnName = "shop_business_license")]
|
|
||||||
public string ShopBusinessLicense { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :名称
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "名称")]
|
|
||||||
[SugarColumn(ColumnName = "shop_name")]
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :简介
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "简介")]
|
|
||||||
[SugarColumn(ColumnName = "shop_intro")]
|
|
||||||
public string ShopIntro { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
[SugarColumn(ColumnName = "shop_sort")]
|
|
||||||
public int ShopSort { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :销售单量
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "销售单量")]
|
|
||||||
[SugarColumn(ColumnName = "shop_sales_order_count")]
|
|
||||||
public int ShopSalesOrderCount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :审核状态
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "审核状态")]
|
|
||||||
[SugarColumn(ColumnName = "shop_audit_status")]
|
|
||||||
public int ShopAuditStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :审核人
|
|
||||||
/// 空值 : false
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "审核人")]
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(ColumnName = "shop_audit_user_guid")]
|
|
||||||
public long ShopAuditUserGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,169 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.Carts
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车记录展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-20
|
|
||||||
/// </summary>
|
|
||||||
public class CartVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 店铺Id
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long StoreId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 店铺名称
|
|
||||||
/// </summary>
|
|
||||||
public string StoreName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券的商品列表
|
|
||||||
/// </summary>
|
|
||||||
public List<PromotionGoods> PromotionGoodsList { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车记录详情展示对象Api
|
|
||||||
/// </summary>
|
|
||||||
public class PromotionGoods
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券Id
|
|
||||||
/// </summary>
|
|
||||||
public int PromotionId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券名称
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券编码
|
|
||||||
/// </summary>
|
|
||||||
public string PromotionCode { get; set; } = "EMPTY_PROMOTION";
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠价类型
|
|
||||||
/// </summary>
|
|
||||||
public string Tag { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券介绍
|
|
||||||
/// </summary>
|
|
||||||
public string Description { get; set; }
|
|
||||||
|
|
||||||
public List<GoodsPromotion> GoodsPromotionList { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public class GoodsPromotion
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车商品Guid
|
|
||||||
/// </summary>
|
|
||||||
public int CartId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺Id
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long StoreId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺名称
|
|
||||||
/// </summary>
|
|
||||||
public string StoreName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品Id
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品SkuId
|
|
||||||
/// </summary>
|
|
||||||
public int SkuId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品封面
|
|
||||||
/// </summary>
|
|
||||||
public string Thumb { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品名称
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车商品数量
|
|
||||||
/// </summary>
|
|
||||||
public int Quantity { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 库存状态
|
|
||||||
/// </summary>
|
|
||||||
public bool StockStatus { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 库存总数
|
|
||||||
/// </summary>
|
|
||||||
public int StockQuantity { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Sku库存总数
|
|
||||||
/// </summary>
|
|
||||||
public int SkuStockQuantity { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 价格
|
|
||||||
/// </summary>
|
|
||||||
public decimal Price { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 划线价格
|
|
||||||
/// </summary>
|
|
||||||
public decimal OriginPrice { get; set;}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格详情
|
|
||||||
/// </summary>
|
|
||||||
public List<SpecInfo> SpecInfo { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车加入时间
|
|
||||||
/// </summary>
|
|
||||||
public DateTime JoinCartTime { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否选中
|
|
||||||
/// </summary>
|
|
||||||
public bool IsSelected { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public class SpecInfo
|
|
||||||
{
|
|
||||||
public string SpecTitle { get; set; }
|
|
||||||
public string SpecValue { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,55 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.Carts
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车列表记录展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-03
|
|
||||||
/// </summary>
|
|
||||||
public class CartListVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 是否为空
|
|
||||||
/// </summary>
|
|
||||||
public bool IsNotEmpty { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 是否全选
|
|
||||||
/// </summary>
|
|
||||||
public bool IsAllSelected { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 总计
|
|
||||||
/// </summary>
|
|
||||||
public decimal TotalAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 选中的商品总数
|
|
||||||
/// </summary>
|
|
||||||
public int SelectedGoodsCount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 折扣总计
|
|
||||||
/// </summary>
|
|
||||||
public decimal TotalDiscountAmount { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购物车信息
|
|
||||||
/// </summary>
|
|
||||||
public List<CartVoApi> StoreGoods { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,128 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.Custom.CustomerAddresses
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 客户收货地址展示对象Api
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-06-09
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerAddressVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : id
|
|
||||||
/// </summary>
|
|
||||||
public int CustomerAddressId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[EpplusIgnore]
|
|
||||||
public long CustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货人名称
|
|
||||||
/// </summary>
|
|
||||||
public string Name { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货电话
|
|
||||||
/// </summary>
|
|
||||||
public string PhoneNumber { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :详细地址
|
|
||||||
/// </summary>
|
|
||||||
public string Address { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 是否为默认地址
|
|
||||||
/// </summary>
|
|
||||||
public bool IsDefault { get; set; }
|
|
||||||
|
|
||||||
public string ProvinceName { get; set; }
|
|
||||||
public string CityName { get; set; }
|
|
||||||
public string DistrictName { get; set; }
|
|
||||||
public string DetaiaddresslAddress { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 客户收货地址详情展示对象Api
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerAddressApiDetailsVo
|
|
||||||
{
|
|
||||||
public int CustomerAddressId { get; set; }
|
|
||||||
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long CustomerAddressGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 省名称
|
|
||||||
/// </summary>
|
|
||||||
public string ProvinceName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 省编码
|
|
||||||
/// </summary>
|
|
||||||
public string ProvinceCode { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 市名称
|
|
||||||
/// </summary>
|
|
||||||
public string CityName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 市编码
|
|
||||||
/// </summary>
|
|
||||||
public string CityCode { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 区名称
|
|
||||||
/// </summary>
|
|
||||||
public string DistrictName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 区编码
|
|
||||||
/// </summary>
|
|
||||||
public string DistrictCode { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 收货人名称
|
|
||||||
/// </summary>
|
|
||||||
public string Name { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 收货电话
|
|
||||||
/// </summary>
|
|
||||||
public string Phone { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 详细地址
|
|
||||||
/// </summary>
|
|
||||||
public string DetailAddress { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否为默认地址
|
|
||||||
/// </summary>
|
|
||||||
public bool IsDefault { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,51 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsCategorys;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.GoodsCategorys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 经营类目展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-08
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCategoryVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsTreeKey = true)]
|
|
||||||
[EpplusIgnore]
|
|
||||||
public long GroupId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :父级guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long ParentGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :名称
|
|
||||||
/// </summary>
|
|
||||||
public string Name { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图片
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public string Thumbnail { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<GoodsCategoryVoApi> Children { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,101 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.GoodsComments
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品评价展示对象Api
|
|
||||||
///
|
|
||||||
/// @author admin
|
|
||||||
/// @date 2023-07-17
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCommentVoApi
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 评价Id
|
|
||||||
/// </summary>
|
|
||||||
public int Uid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品Id
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品SkuId
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long SkuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格
|
|
||||||
/// </summary>
|
|
||||||
public long SpecInfo { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评分分数
|
|
||||||
/// </summary>
|
|
||||||
public float CommentScore { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评价内容
|
|
||||||
/// </summary>
|
|
||||||
public string CommentContent { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评价图片
|
|
||||||
/// </summary>
|
|
||||||
public string GoodsCommentImages { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评价
|
|
||||||
/// </summary>
|
|
||||||
public List<ResourcesItem> CommentResources { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 评价用户名称
|
|
||||||
/// </summary>
|
|
||||||
public string UserName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :评价用户头像
|
|
||||||
/// </summary>
|
|
||||||
public string UserHeadUrl { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 是否匿名
|
|
||||||
/// </summary>
|
|
||||||
public int IsAnonymity { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 回复
|
|
||||||
/// </summary>
|
|
||||||
public string SellerReply { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品所选Sku
|
|
||||||
/// </summary>
|
|
||||||
public string GoodsDetailInfo { get; set; }
|
|
||||||
|
|
||||||
public string CommentTime { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class ResourcesItem
|
|
||||||
{
|
|
||||||
public string Src { get; set; }
|
|
||||||
public string Type { get; set; }
|
|
||||||
public string CoverSrc { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,50 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.GoodsComments
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品详情页评论数展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-18
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsCommentCountApiVo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 评价总数
|
|
||||||
/// </summary>
|
|
||||||
public int CommentCount { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 差评总数
|
|
||||||
/// </summary>
|
|
||||||
public int BadCount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 中评总数
|
|
||||||
/// </summary>
|
|
||||||
public int MiddleCount { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 好评总数
|
|
||||||
/// </summary>
|
|
||||||
public int GoodCount { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 带图总数
|
|
||||||
/// </summary>
|
|
||||||
public int HasImageCount { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 好评率
|
|
||||||
/// </summary>
|
|
||||||
public decimal GoodRate { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,245 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-09
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品Id
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[EpplusIgnore]
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺名称
|
|
||||||
/// </summary>
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品类目guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long CategoryIds { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品名称
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :编码
|
|
||||||
/// </summary>
|
|
||||||
public string GoodsCoding { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :主图视频
|
|
||||||
/// </summary>
|
|
||||||
public string Video { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :视频封面
|
|
||||||
/// </summary>
|
|
||||||
public string PrimaryImage { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图片
|
|
||||||
/// </summary>
|
|
||||||
public string Images { get; set; }
|
|
||||||
|
|
||||||
public string Thumb { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :价格(最低)
|
|
||||||
/// </summary>
|
|
||||||
public decimal Price { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :划线价格(最低)
|
|
||||||
/// </summary>
|
|
||||||
public decimal OriginPrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :库存总量
|
|
||||||
/// </summary>
|
|
||||||
public int SpuStockQuantity { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :销量
|
|
||||||
/// </summary>
|
|
||||||
public int SoldNum { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :上下架状态(1上架 2下架)
|
|
||||||
/// </summary>
|
|
||||||
public int IsPutOnSale { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品详情展示对象Api
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsApiDetailsVo
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品Id
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[EpplusIgnore]
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品类目guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long CategoryIds { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺Logo
|
|
||||||
/// </summary>
|
|
||||||
public string ShopLogo { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺名称
|
|
||||||
/// </summary>
|
|
||||||
public string ShopName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺销售单量
|
|
||||||
/// </summary>
|
|
||||||
public int ShopSalesOrderCount { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :店铺简介
|
|
||||||
/// </summary>
|
|
||||||
public string ShopIntro { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品名称
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :编码
|
|
||||||
/// </summary>
|
|
||||||
public string GoodsCoding { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :主图视频
|
|
||||||
/// </summary>
|
|
||||||
public string Video { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :视频封面
|
|
||||||
/// </summary>
|
|
||||||
public string PrimaryImage { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :图片
|
|
||||||
/// </summary>
|
|
||||||
public string Images { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :价格(最低)
|
|
||||||
/// </summary>
|
|
||||||
public decimal MinSalePrice { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :价格(最高)
|
|
||||||
/// </summary>
|
|
||||||
public decimal MaxSalePrice { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :划线价格(最高)
|
|
||||||
/// </summary>
|
|
||||||
public decimal MaxLinePrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :库存总量
|
|
||||||
/// </summary>
|
|
||||||
public int SpuStockQuantity { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :销量
|
|
||||||
/// </summary>
|
|
||||||
public int SoldNum { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :上下架状态(1上架 2下架)
|
|
||||||
/// </summary>
|
|
||||||
public int IsPutOnSale { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :详情
|
|
||||||
/// </summary>
|
|
||||||
public string Desc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 卖点
|
|
||||||
/// </summary>
|
|
||||||
public string GoodsSellingPoint { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格列表
|
|
||||||
/// </summary>
|
|
||||||
public List<GoodsSpecApiVo> SpecList { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品sku列表
|
|
||||||
/// </summary>
|
|
||||||
public List<GoosSkuApiVo> SkuList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否收藏
|
|
||||||
/// </summary>
|
|
||||||
public bool IsCollect { get; set; } = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格组展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-13
|
|
||||||
/// </summary>
|
|
||||||
public class GoodsSpecApiVo
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格组Id
|
|
||||||
/// </summary>
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品规格组名称
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格列表
|
|
||||||
/// </summary>
|
|
||||||
public List<SpecValueApiVo> SpecValueList { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,66 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品sku展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-13
|
|
||||||
/// </summary>
|
|
||||||
public class GoosSkuApiVo
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品SkuId
|
|
||||||
/// </summary>
|
|
||||||
public int SkuId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格图片
|
|
||||||
/// </summary>
|
|
||||||
public string SkuImage { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品规格详情
|
|
||||||
/// </summary>
|
|
||||||
public List<SkuSpecInfo> SpecInfo { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品sku价格
|
|
||||||
/// </summary>
|
|
||||||
public List<PriceInfo> PriceInfo { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品sku库存总量
|
|
||||||
/// </summary>
|
|
||||||
public int Quantity { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品sku重量
|
|
||||||
/// </summary>
|
|
||||||
public decimal Weight { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public class SkuSpecInfo
|
|
||||||
{
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
public string SpecTitle { get; set; }
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
public string SpecValue { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class PriceInfo
|
|
||||||
{
|
|
||||||
public int PriceType { get; set; }
|
|
||||||
public decimal Price { get; set; }
|
|
||||||
public string PriceTypeName { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.Goodss
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 商品规格值展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-13
|
|
||||||
/// </summary>
|
|
||||||
public class SpecValueApiVo
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格值Id
|
|
||||||
/// </summary>
|
|
||||||
public int SpecValueId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格组Id
|
|
||||||
/// </summary>
|
|
||||||
public int SpecId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品规格值名称
|
|
||||||
/// </summary>
|
|
||||||
public string SpecValue { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格值图片
|
|
||||||
/// </summary>
|
|
||||||
public string Image { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,54 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.ShopGoodsCategorys;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using ARW.Model.Vo.Api.GoodsManager.Goodss;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.GoodsManager.ShopGoodsCategorys
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺商品类目展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-20
|
|
||||||
/// </summary>
|
|
||||||
public class ShopGoodsCategoryVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsTreeKey = true)]
|
|
||||||
[EpplusIgnore]
|
|
||||||
public long ShopGoodsCategoryGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :父级guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[SugarColumn(IsTreeKey = true)]
|
|
||||||
[EpplusTableColumn(Header = "父级guid")]
|
|
||||||
public long ShopGoodsCategoryParentGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :名称
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "名称")]
|
|
||||||
public string Label { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<GoodsVoApi> Items { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
||||||
[SugarColumn(IsIgnore = true)]
|
|
||||||
public List<ShopGoodsCategoryVoApi> Children { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,9 +1,5 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
|
||||||
using ARW.Model.Models.Business.GoodsManager.GoodsCategorys;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.Home
|
namespace ARW.Model.Vo.Api.Home
|
||||||
{
|
{
|
||||||
|
@ -1,182 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.Marketing.CouponManage.Coupons
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-08-01
|
|
||||||
/// </summary>
|
|
||||||
public class CouponVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public int CouponId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[EpplusIgnore]
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵名称
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠劵名称")]
|
|
||||||
public string CouponName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵类型
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "优惠劵类型")]
|
|
||||||
public int CouponType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :减免金额
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public decimal CouponDeductionMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :折扣率
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public float CouponDiscountRate { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :最低消费金额
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "最低消费金额")]
|
|
||||||
public decimal CouponMinConsumeMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :到期类型
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "到期类型")]
|
|
||||||
public int CouponExpireType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :有效天数
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public int? CouponEffectiveDays { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :固定时间-开始时间
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public DateTime? CouponFixedStartTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :固定时间-结束时间
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public DateTime? CouponFixedEndTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :适用范围
|
|
||||||
/// </summary>
|
|
||||||
[EpplusIgnore]
|
|
||||||
public int? CouponApplicableScope { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :发送数量(-1不限制)
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "发送数量(-1不限制)")]
|
|
||||||
public int CouponSendNumber { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :显示状态
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "显示状态")]
|
|
||||||
public int CouponDisplayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :排序
|
|
||||||
/// </summary>
|
|
||||||
[EpplusTableColumn(Header = "排序")]
|
|
||||||
public int CouponSort { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券详情展示对象Api
|
|
||||||
/// </summary>
|
|
||||||
public class CouponApiDetailsVo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : Key
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long Key { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵类型
|
|
||||||
/// </summary>
|
|
||||||
public int Type { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵状态
|
|
||||||
/// </summary>
|
|
||||||
public int Status { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :折扣或者满减值
|
|
||||||
/// </summary>
|
|
||||||
public string Value { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :描述
|
|
||||||
/// </summary>
|
|
||||||
public string Desc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :标题
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单底价,满n元
|
|
||||||
/// </summary>
|
|
||||||
public decimal Base { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :有效时间限制
|
|
||||||
/// </summary>
|
|
||||||
public string TimeLimit { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public DateTime CreateTime { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,148 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.Marketing.CouponManage.CustomerCoupons
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 领券记录展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-07-31
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerCouponVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : CouponGuid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : CouponGuid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : Key
|
|
||||||
/// </summary>
|
|
||||||
public int Key { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵类型
|
|
||||||
/// </summary>
|
|
||||||
public int Type { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵状态
|
|
||||||
/// </summary>
|
|
||||||
public int Status { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :折扣或者满减值
|
|
||||||
/// </summary>
|
|
||||||
public string Value { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :描述
|
|
||||||
/// </summary>
|
|
||||||
public string Desc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :标题
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单底价,满n元
|
|
||||||
/// </summary>
|
|
||||||
public decimal Base { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :有效时间限制
|
|
||||||
/// </summary>
|
|
||||||
public string TimeLimit { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public DateTime CreateTime { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 领券记录详情展示对象Api
|
|
||||||
/// </summary>
|
|
||||||
public class CustomerCouponApiDetailsVo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : CouponGuid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long CouponGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : Key
|
|
||||||
/// </summary>
|
|
||||||
public int Key { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵类型
|
|
||||||
/// </summary>
|
|
||||||
public int Type { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :优惠劵状态
|
|
||||||
/// </summary>
|
|
||||||
public int Status { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :折扣或者满减值
|
|
||||||
/// </summary>
|
|
||||||
public string Value { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :描述
|
|
||||||
/// </summary>
|
|
||||||
public string Desc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :标题
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单底价,满n元
|
|
||||||
/// </summary>
|
|
||||||
public decimal Base { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :有效时间限制
|
|
||||||
/// </summary>
|
|
||||||
public string TimeLimit { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public DateTime CreateTime { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 适用范围
|
|
||||||
/// </summary>
|
|
||||||
public string StoreAdapt { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 使用须知
|
|
||||||
/// </summary>
|
|
||||||
public string UseNotes { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后按钮展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-21
|
|
||||||
/// </summary>
|
|
||||||
public class ButtonVO
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :名称
|
|
||||||
/// </summary>
|
|
||||||
public string Name { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
public bool Primary { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 类型 (2撤销 3填写运单号 4修改运单号 5查看物流 7删除订单 )
|
|
||||||
/// </summary>
|
|
||||||
public int Type { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,169 +0,0 @@
|
|||||||
using ARW.Model.Vo.Api.OrderManage.Orders;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表详情展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-21
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundApiDetailsVo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单号
|
|
||||||
/// </summary>
|
|
||||||
public string OrderNo { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺名称
|
|
||||||
/// </summary>
|
|
||||||
public string StoreName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单商品列表
|
|
||||||
/// </summary>
|
|
||||||
public List<OrderGoodsApiVo> OrderRefundGoodList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 地址
|
|
||||||
/// </summary>
|
|
||||||
public Logistics LogisticsVO { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 物流状态
|
|
||||||
/// </summary>
|
|
||||||
public TrajectoryVo TrajectoryVos { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :售后类型(1退货退款 2退货(无需退款) 3换货)
|
|
||||||
/// </summary>
|
|
||||||
public int RefundType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 申请退款金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal RefundRequestAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商家审核状态(1待审核 2已同意 3已拒绝)
|
|
||||||
/// </summary>
|
|
||||||
public int MerchantAuditStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :实际退款金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal RefundMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 售后订单状态描述
|
|
||||||
/// </summary>
|
|
||||||
public string EserRightsStatusDesc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 状态(1待审核 2已审核 3已发货 4已完成 )
|
|
||||||
/// </summary>
|
|
||||||
public int Status { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public string StatusName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :用户是否发货(1未发货 2已发货)
|
|
||||||
/// </summary>
|
|
||||||
public int IsCustomerSend { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :售后单状态(1进行中 2已拒绝 3已完成 4已取消)
|
|
||||||
/// </summary>
|
|
||||||
public int OrderRefundStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商家是否收货(1未收货 2已收货)
|
|
||||||
/// </summary>
|
|
||||||
public int IsMerchantReceive { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商家退货地址guid
|
|
||||||
/// </summary>
|
|
||||||
public long? ShopAddressGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 退款原因(字典)
|
|
||||||
/// </summary>
|
|
||||||
public int RefundReason { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 退款原因
|
|
||||||
/// </summary>
|
|
||||||
public string Reason { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户退款说明
|
|
||||||
/// </summary>
|
|
||||||
public string CustomerRefundDesc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :客户退款凭证
|
|
||||||
/// </summary>
|
|
||||||
public string CustomerRefundImg { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 快递公司guid
|
|
||||||
/// </summary>
|
|
||||||
public long? LogisticsCompanyGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单号
|
|
||||||
/// </summary>
|
|
||||||
public string ExpressNo { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 申请时间
|
|
||||||
/// </summary>
|
|
||||||
public DateTime CreateTime { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,113 +0,0 @@
|
|||||||
using ARW.Model.Vo.Api.OrderManage.Orders;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.OrderRefunds
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后单记录表展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-16
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundVoApi
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
public int OrderRefundId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long OrderRefundGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺guid
|
|
||||||
/// </summary>
|
|
||||||
public long ShopGuid { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺名称
|
|
||||||
/// </summary>
|
|
||||||
public string StoreName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public List<OrderGoodsApiVo> OrderRefundGoodList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :售后类型(1退货退款 2退款(无需退货) 3换货)
|
|
||||||
/// </summary>
|
|
||||||
public int RefundType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 申请退款金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal RefundRequestAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商家审核状态(1待审核 2已同意 3已拒绝)
|
|
||||||
/// </summary>
|
|
||||||
public int MerchantAuditStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :实际退款金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal RefundMoney { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 售后订单状态描述
|
|
||||||
/// </summary>
|
|
||||||
public string EserRightsStatusDesc { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 状态(1待审核 2已审核 3已发货 4已完成 5已取消)
|
|
||||||
/// </summary>
|
|
||||||
public int Status { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :用户是否发货(1未发货 2已发货)
|
|
||||||
/// </summary>
|
|
||||||
public int IsCustomerSend { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :售后单状态(1进行中 2已拒绝 3已完成 4已取消)
|
|
||||||
/// </summary>
|
|
||||||
public int OrderRefundStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商家是否收货(1未收货 2已收货)
|
|
||||||
/// </summary>
|
|
||||||
public int IsMerchantReceive { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 按钮
|
|
||||||
/// </summary>
|
|
||||||
public List<ButtonVO> ButtonVOs { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,63 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 售后订单商品展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-14
|
|
||||||
/// </summary>
|
|
||||||
public class OrderRefundGood
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long GoodsGuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :封面
|
|
||||||
/// </summary>
|
|
||||||
public string Thumb { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品名称
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品skuId
|
|
||||||
/// </summary>
|
|
||||||
public int? SkuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格
|
|
||||||
/// </summary>
|
|
||||||
public List<OrderGoodsSpecApiVo> Specifications { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品价格
|
|
||||||
/// </summary>
|
|
||||||
public decimal Price { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购买数量
|
|
||||||
/// </summary>
|
|
||||||
public int BuyQuantity { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,62 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单详情地址展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-19
|
|
||||||
/// </summary>
|
|
||||||
public class Logistics
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 收货地址Guid
|
|
||||||
/// </summary>
|
|
||||||
public long ReceiverAddressId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 收货人名称
|
|
||||||
/// </summary>
|
|
||||||
public string ReceiverName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 收货人电话
|
|
||||||
/// </summary>
|
|
||||||
public string ReceiverPhone { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 省
|
|
||||||
/// </summary>
|
|
||||||
public string ReceiverProvince { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 市
|
|
||||||
/// </summary>
|
|
||||||
public string ReceiverCity { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 区
|
|
||||||
/// </summary>
|
|
||||||
public string receiverCountry { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 详细地址
|
|
||||||
/// </summary>
|
|
||||||
public string ReceiverAddress { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,222 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-09-01
|
|
||||||
/// </summary>
|
|
||||||
public class OrderVoApi
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
public int OrderId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单号
|
|
||||||
/// </summary>
|
|
||||||
public string OrderNo { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品列表
|
|
||||||
/// </summary>
|
|
||||||
public List<OrderGoodsApiVo> GoodsList { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品总金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal GoodsTotalAmoun { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal OrderAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :实际付款金额(包含运费)
|
|
||||||
/// </summary>
|
|
||||||
public decimal PayPrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :运费金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal ExpressPrice { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :付款状态(1未付款 2已付款)
|
|
||||||
/// </summary>
|
|
||||||
public int PayStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :发货状态(1未发货 2已发货)
|
|
||||||
/// </summary>
|
|
||||||
public int DeliveryStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :收货状态(1未收货 2已收货)
|
|
||||||
/// </summary>
|
|
||||||
public int ReceiptStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :订单状态(1进行中 2取消 3待取消 4已完成)
|
|
||||||
/// </summary>
|
|
||||||
public int OrderStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :是否已评价(1否 2是)
|
|
||||||
/// </summary>
|
|
||||||
public int IsComment { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单状态 (1待付款 2待发货 3待收货 4已完成)
|
|
||||||
/// </summary>
|
|
||||||
public int Status { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单状态名称 (1待付款 2待发货 3待收货 4已完成 5已取消)
|
|
||||||
/// </summary>
|
|
||||||
public string StatusName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 按钮
|
|
||||||
/// </summary>
|
|
||||||
public List<ButtonVO> ButtonVOs { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单详情展示对象Api
|
|
||||||
/// </summary>
|
|
||||||
public class OrderApiDetailsVo
|
|
||||||
{
|
|
||||||
[EpplusIgnore]
|
|
||||||
public int OrderId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
[EpplusIgnore]
|
|
||||||
public long OrderGuid { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 店铺名称
|
|
||||||
/// </summary>
|
|
||||||
public string StoreName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单号
|
|
||||||
/// </summary>
|
|
||||||
public string OrderNo { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单状态(1: 待付款 2: 待发货 3: 待收货 4: 已完成 5:待取消)
|
|
||||||
/// </summary>
|
|
||||||
public int OrderStatus { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单总额
|
|
||||||
/// </summary>
|
|
||||||
public decimal TotalAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品总额
|
|
||||||
/// </summary>
|
|
||||||
public decimal GoodsAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 支付金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal PaymentAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 运费
|
|
||||||
/// </summary>
|
|
||||||
public decimal FreightFee { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 优惠券金额
|
|
||||||
/// </summary>
|
|
||||||
public decimal CouponAmount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 备注
|
|
||||||
/// </summary>
|
|
||||||
public string Remark { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单商品
|
|
||||||
/// </summary>
|
|
||||||
public List<OrderItem> OrderItemVOs { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 地址
|
|
||||||
/// </summary>
|
|
||||||
public Logistics LogisticsVO { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 物流状态
|
|
||||||
/// </summary>
|
|
||||||
public TrajectoryVo TrajectoryVos { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 自动取消时间
|
|
||||||
/// </summary>
|
|
||||||
public DateTime? AutoCancelTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 订单状态名称
|
|
||||||
/// </summary>
|
|
||||||
public string OrderStatusName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 下单时间
|
|
||||||
/// </summary>
|
|
||||||
public DateTime CreateTime { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,63 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单商品展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-14
|
|
||||||
/// </summary>
|
|
||||||
public class OrderGoodsApiVo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品guid
|
|
||||||
/// </summary>
|
|
||||||
[JsonConverter(typeof(ValueToStringConverter))]
|
|
||||||
public long GoodsGuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :封面
|
|
||||||
/// </summary>
|
|
||||||
public string Thumb { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品名称
|
|
||||||
/// </summary>
|
|
||||||
public string Title { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品skuId
|
|
||||||
/// </summary>
|
|
||||||
public int? SkuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品规格
|
|
||||||
/// </summary>
|
|
||||||
public List<OrderGoodsSpecApiVo> Specifications { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 商品价格
|
|
||||||
/// </summary>
|
|
||||||
public decimal Price { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 购买数量
|
|
||||||
/// </summary>
|
|
||||||
public int BuyQuantity { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,31 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单商品规格展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-14
|
|
||||||
/// </summary>
|
|
||||||
public class OrderGoodsSpecApiVo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :规格组名称
|
|
||||||
/// </summary>
|
|
||||||
public string SpecTitle { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :规格值
|
|
||||||
/// </summary>
|
|
||||||
public string SpecValue { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,61 +0,0 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using OfficeOpenXml.Attributes;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ARW.Model.Vo.Api.OrderManage.Orders
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 订单详情商品展示对象Api
|
|
||||||
///
|
|
||||||
/// @author lwh
|
|
||||||
/// @date 2023-10-19
|
|
||||||
/// </summary>
|
|
||||||
public class OrderItem
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品Id
|
|
||||||
/// </summary>
|
|
||||||
public long SpuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品SkuId
|
|
||||||
/// </summary>
|
|
||||||
public int? SkuId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 商品名称
|
|
||||||
/// </summary>
|
|
||||||
public string GoodsName { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品规格
|
|
||||||
/// </summary>
|
|
||||||
public List<OrderGoodsSpecApiVo> Specifications { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :商品图片
|
|
||||||
/// </summary>
|
|
||||||
public string GoodsPictureUrl { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 : 单价
|
|
||||||
/// </summary>
|
|
||||||
public decimal Price { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 描述 :购买数量
|
|
||||||
/// </summary>
|
|
||||||
public decimal BuyQuantity { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user