using Atomx.Common.Entities;
namespace Atomx.Admin.Client.Models
{
public class ProductModel
{
///
/// 产品ID
///
public long Id { get; set; }
///
/// 父产品ID
///
public long ParentProductId { get; set; }
///
/// 发布用户ID
///
public long UserId { get; set; }
///
/// 归属公司ID
///
public long CorporationId { get; set; }
///
/// 卖家店铺ID
///
public long StoreId { get; set; }
///
/// 产品类型ID
///
public long ProductTypeId { get; set; }
///
/// 分类路径
///
public string? CategoryPath { get; set; } = string.Empty;
///
/// 分类ID
///
public long CategoryId { get; set; }
///
/// 制造商ID
///
public long ManufacturerId { get; set; }
///
/// SEO Title
///
public string MetaTitle { get; set; } = string.Empty;
///
/// SEO Description
///
public string MetaDescription { get; set; } = string.Empty;
///
/// 产品Slug
///
public string Slug { get; set; } = string.Empty;
///
/// 产品名称
///
public string Title { get; set; } = string.Empty;
///
/// 产品唯一编码
///
public string? SIN { get; set; } = string.Empty;
///
/// 封面图片
///
public string? Image { get; set; } = string.Empty;
///
/// 产品图片,JSON
///
public string? Photos { get; set; } = string.Empty;
///
/// 产品卖点
///
public string? Feature { get; set; } = string.Empty;
///
/// 产品简介
///
public string? Description { get; set; } = string.Empty;
///
/// 产品特点标签
///
public string? Tags { get; set; } = string.Empty;
///
/// 产品详细介绍
///
public string Body { get; set; } = string.Empty;
///
/// 规格信息Json
///
public string? Specification { get; set; } = string.Empty;
///
/// 商品库存
///
public int StockQuantity { get; set; }
///
/// 重量
///
public decimal? Weight { get; set; }
///
/// 市场价,划线价
///
public decimal MarketPrice { get; set; }
///
/// 销售标价
///
public decimal Price { get; set; }
///
/// SKU组合的产品价格信息
///
public string? SkuPrices { get; set; } = string.Empty;
///
/// 商品扩展信息
///
public string Extended { get; set; } = string.Empty;
///
/// 订单最小数量
///
public int OrderMinimumQuantity { get; set; }
///
/// 订单最多数量
///
public int OrderMaximumQuantity { get; set; }
///
/// 是否允许退货
///
public bool AllowReturn { get; set; }
///
/// 是否允许换货
///
public bool AllowExchange { get; set; }
///
/// 是否独立发货
///
public bool SingleShip { get; set; }
///
/// 预计运输天数
///
public int ShippingDays { get; set; }
///
/// 运费模板ID
///
public long ShippingId { get; set; }
///
/// 精选
///
public bool IsFeatured { get; set; }
///
/// 是否 best
///
public bool IsBest { get; set; }
///
/// 是否标注新品
///
public bool IsNew { get; set; }
///
/// 排序
///
public int DisplayOrder { get; set; }
///
/// 暂停销售,前台处理成已售罄
///
public bool StopSales { get; set; }
///
/// 产品状态,0未上架,1上架
///
public int Status { get; set; }
///
/// 产品信息审核状态
///
public int ReviewStatus { get; set; }
///
/// 禁用优惠券
///
public bool DisableCoupons { get; set; }
///
/// 产品属性
///
public List ProductSaleAttributes { get; set; } = new();
///
/// 产品属性组合信息
///
public List ProductAttributeCombinations { get; set; } = new();
///
/// 用来设置SKU属性图片的数据源
///
public List PhotoSalesAttribute { get; set; } = new();
///
/// 是否编辑
///
public bool IsEdit { get; set; } = false;
}
}