using Microsoft.EntityFrameworkCore;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
/*
|
* @author : 刘文奇
|
* @date : 2024/4/23下午5:30:19
|
* @desc : 仓库表
|
*/
|
namespace Admin.NET.Core
|
{
|
/// <summary>
|
/// 仓库表
|
/// </summary>
|
[Table("wms_warehouse")]
|
[Comment("仓库表")]
|
public class WmsWarehouse : DEntityBase
|
{
|
|
|
/// <summary>
|
/// 仓库编号
|
/// </summary>
|
[Comment("仓库编号")]
|
[Required]
|
[MaxLength(50)]
|
public string Code { get; set; }
|
|
|
/// <summary>
|
/// 仓库名称
|
/// </summary>
|
[Comment("仓库名称")]
|
[Required]
|
[MaxLength(255)]
|
public string Name { get; set; }
|
|
|
/// <summary>
|
/// 仓库地址
|
/// </summary>
|
[Comment("仓库地址")]
|
[MaxLength(255)]
|
public string Address { get; set; }
|
|
|
/// <summary>
|
/// 工厂编号
|
/// </summary>
|
[Comment("工厂编号")]
|
[MaxLength(255)]
|
public string FactoryCode { get; set; }
|
|
|
/// <summary>
|
/// 长
|
/// </summary>
|
[Comment("长")]
|
|
[Column("Length", TypeName = "decimal(10,3)")]
|
public decimal? Length { get; set; }
|
|
|
/// <summary>
|
/// 宽
|
/// </summary>
|
[Comment("宽")]
|
|
[Column("Width", TypeName = "decimal(10,3)")]
|
public decimal? Width { get; set; }
|
|
|
/// <summary>
|
/// 高
|
/// </summary>
|
[Comment("高")]
|
|
[Column("Height", TypeName = "decimal(10,3)")]
|
public decimal? Height { get; set; }
|
|
|
/// <summary>
|
/// 基本单元
|
/// </summary>
|
[Comment("基本单元")]
|
[MaxLength(255)]
|
public string BaseUnit { get; set; }
|
|
|
/// <summary>
|
/// 定位
|
/// </summary>
|
[Comment("定位")]
|
[MaxLength(255)]
|
public string Position { get; set; }
|
|
|
/// <summary>
|
/// 是否禁用
|
/// </summary>
|
[Comment("是否禁用")]
|
[Required]
|
|
public bool IsDisabled { get; set; }
|
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[Comment("备注")]
|
[MaxLength(255)]
|
public string Remarks { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|