You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.0 KiB
76 lines
2.0 KiB
using Win_in.Sfs.Basedata.Domain.Shared;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
using Win_in.Sfs.Shared.Domain.Entities;
|
|
|
|
namespace Win_in.Sfs.Basedata.Domain;
|
|
|
|
/// <summary>
|
|
/// 区域
|
|
/// </summary>
|
|
public class Area : SfsBaseDataAggregateRootBase, IHasCode, IHasName
|
|
{
|
|
|
|
/// <summary>
|
|
/// 代码
|
|
/// </summary>
|
|
[IgnoreUpdate]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// 仓库代码
|
|
/// </summary>
|
|
public string WarehouseCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 区域类型
|
|
/// </summary>
|
|
public EnumAreaType AreaType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 功能区
|
|
/// </summary>
|
|
public bool IsFunctional { get; set; }
|
|
}
|
|
///// <summary>
|
|
///// 区域
|
|
///// </summary>
|
|
//public class Area : SfsBaseDataAggregateRootBase
|
|
//{
|
|
// /// <summary>
|
|
// /// 区域名称
|
|
// /// </summary>
|
|
|
|
// [Display(Name = "区域名称")]
|
|
// [Required(ErrorMessage = "{0}是必填项")]
|
|
// [StringLength(SfsEfCorePropertyConst.NameLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
// public string Name { get; set; }
|
|
// /// <summary>
|
|
// /// 区域描述
|
|
// /// </summary>
|
|
// [Display(Name = "区域描述")]
|
|
// [StringLength(SfsEfCorePropertyConst.DescLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
// public string Description { get; set; }
|
|
// /// <summary>
|
|
// /// 区域类型
|
|
// /// </summary>
|
|
// [Display(Name = "区域类型")]
|
|
// [StringLength(SfsEfCorePropertyConst.NameLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
// public string Type { get; set; }
|
|
// /// <summary>
|
|
// /// 是否功能区
|
|
// /// </summary>
|
|
// [Display(Name = "是否功能区")]
|
|
// public Nullable<bool> IsFunctional { get; set; }
|
|
// [Display(Name = "编码")]
|
|
// public string Code { get; set; }
|
|
//}
|
|
|