using Ant.Core.SqlServer.BaseEntities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Central.Control.WebApi.DbEntity
{
///
/// YW_Packing包装表
///
public class YW_Packing : SoftBaseEntity
{
///
/// 主键ID
///
[Key]
[MaxLength(50)]
public string Id { set; get; } = string.Empty;
///
/// 包装名称
///
[MaxLength(50)]
[Required(AllowEmptyStrings = true)]
public string Name { set; get; } = string.Empty;
///
/// 包装图片
///
[MaxLength(200)]
[Required(AllowEmptyStrings = true)]
public string Img { set; get; } = string.Empty;
///
/// 最小可装个数
///
public int Min { set; get; } = 1;
///
/// 最大可装个数
///
public int Max { set; get; } = 1;
}
}