|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sln.Wcs.Model.Domain
|
|
|
|
|
|
{
|
|
|
|
|
|
[SugarTable("base_warehouse"), TenantAttribute("wcs")]
|
|
|
|
|
|
[DataContract(Name = "仓库信息表")]
|
|
|
|
|
|
public class BaseWarehouseInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 仓库ID
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "warehouse_id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "仓库ID")]
|
|
|
|
|
|
public int WarehouseId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 存放类型(1四宫格料箱, 2小料箱,3色粉)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "warehouse_type", ColumnDescription = "存放类型(1四宫格料箱, 2小料箱,3色粉)")]
|
|
|
|
|
|
public int? WarehouseType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 所属车间编号(2-2#,3-3#)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "workshop_id", ColumnDescription = "所属车间编号(2-2#,3-3#)")]
|
|
|
|
|
|
public int? WorkshopId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 所属车间编号(2-2#,3-3#)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "workshop_level", ColumnDescription = "所属车间层数")]
|
|
|
|
|
|
public int? WorkshopLevel { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 仓库编码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "warehouse_code", ColumnDescription = "仓库编码")]
|
|
|
|
|
|
public string? WarehouseCode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 仓库名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "warehouse_name", ColumnDescription = "仓库名称")]
|
|
|
|
|
|
public string? WarehouseName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 激活标记 1是 0否
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "active_flag", ColumnDescription = "激活标记 1是 0否")]
|
|
|
|
|
|
public int? ActiveFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建者
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "create_by", ColumnDescription = "创建者")]
|
|
|
|
|
|
public string? CreateBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")]
|
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新者
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "update_by", ColumnDescription = "更新者")]
|
|
|
|
|
|
public string? UpdateBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间")]
|
|
|
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|