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_DevicePacking设备包装数量表
///
public class YW_DevicePacking : SoftBaseEntity
{
///
/// 主键ID
///
[Key]
[MaxLength(50)]
public string Id { set; get; } = string.Empty;
///
/// 包装表id
///
[MaxLength(50)]
[Required(AllowEmptyStrings = true)]
public string PackingId { set; get; } = string.Empty;
///
/// 设备id
///
[MaxLength(50)]
[Required(AllowEmptyStrings = true)]
public string DeviceId { set; get; } = string.Empty;
///
/// 容量
///
public int Capacity { set; get; } = 1;
///
/// 库存
///
public int Stock { set; get; }
}
}