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.

43 lines
884 B

2 years ago
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Values;
using Win_in.Sfs.Shared.Domain;
namespace Win_in.Sfs.Label.Domain.Shared;
/// <summary>
/// 质量信息
/// </summary>
public class QualityInfo : ValueObject
{
/// <summary>
/// 质量等级
/// </summary>
[MaxLength(SfsEfCorePropertyConst.CodeLength)]
public string QLevel { get; set; }
/// <summary>
/// 质检文件
/// </summary>
[MaxLength(SfsEfCorePropertyConst.CodeLength)]
public string QualityFile { get; set; }
protected override IEnumerable<object> GetAtomicValues()
{
yield return QLevel;
yield return QualityFile;
}
public QualityInfo(string qLevel, string qualityFile)
{
QLevel = qLevel;
QualityFile = qualityFile;
}
public QualityInfo()
{
}
}