上传模型类

This commit is contained in:
lzw
2021-11-06 17:13:38 +08:00
parent 8b3339c81d
commit 366386c40e
21 changed files with 4488 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Model.Models
{
public class spec_param:baseModel<int>
{
[Comment("参数名")]
public string name { get; set; }
[Comment("是否是数字类型参数true或false")]
public int numeric { get; set; }
[Comment("数字类型参数的单位,非数字类型可以为空")]
public string unit { get; set; }
[Comment("是否是sku通用属性true或false")]
public int generic { get; set; }
[Comment("是否用于搜索过滤true或false")]
public int searching { get; set; }
[Comment("数值类型参数如果需要搜索则添加分段间隔值如CPU频率间隔0.5-1.0")]
public string segments { get; set; }
[Comment("规格组")]
public spec_group spec_Group { get; set; }
[Comment("类别")]
public category category { get; set; }
}
}