51 lines
1.0 KiB
C#
51 lines
1.0 KiB
C#
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; }
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|