using Operater.DbModel;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.Text;
|
|
namespace Operater.DTO.System
|
{
|
public class GetProductListRequest : PageBiz
|
{
|
/// <summary>
|
/// 关键词
|
/// </summary>
|
public string KeyWords { get; set; }
|
|
/// <summary>
|
/// 选品规划id
|
/// </summary>
|
public string RuleId { get; set; }
|
|
public long CategoryId { get; set; }
|
}
|
|
public class GetProductDetailRequest
|
{
|
[Required(ErrorMessage = "OfferIds不能为空")]
|
public List<string> OfferIds { get; set; }
|
}
|
|
public class GetCategoryListRequest
|
{
|
[Required(ErrorMessage = "CateId不能为空")]
|
public long CateId { get; set; }
|
}
|
|
public class GetCategoryListResponse
|
{
|
public long parentid { get; set; }
|
|
public List<Category> list { get; set; }
|
}
|
|
public class GetCategoryListItem
|
{
|
public long id { get; set; }
|
|
public string name { get; set; }
|
}
|
|
}
|