using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Domain.Values;
using Win_in.Sfs.Shared.Domain;
namespace Win_in.Sfs.Basedata;
#region 枚举及实体
///
/// 标签类别
///
public enum EnumLabelType
{
///
/// 空枚举
///
[Display(Name = "未定义")]
None = 0,
///
/// 采购标签
///
[Display(Name = "采购标签")]
PurchaseLabel = 1,
///
/// 生产标签
///
[Display(Name = "生产标签")]
ProductionLabel = 2,
///
/// 销售标签
///
[Display(Name = "销售标签")]
SaleLabel = 3,
///
/// 托盘标签
///
[Display(Name = "托盘标签")]
PalletLabel = 4,
///
/// 盘点标签
///
[Display(Name = "盘点标签")]
CountLabel = 5,
}
public enum LabelStatus
{
///
/// 未定义
///
[Display(Name = "未定义")]
None = 0,
///
/// 有效
///
[Display(Name = "有效")]
Enable = 1,
///
/// 无效
///
[Display(Name = "无效")]
Disable = 2
}
///
/// 质量信息
///
public class QualityInfo : ValueObject
{
///
/// 质量等级
///
[MaxLength(SfsEfCorePropertyConst.CodeLength)]
public string QLevel { get; set; }
///
/// 质检文件
///
[MaxLength(SfsEfCorePropertyConst.CodeLength)]
public string QualityFile { get; set; }
protected override IEnumerable