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;
///
/// 生产信息
///
public class ProductionInfo : ValueObject
{
public ProductionInfo()
{
}
public ProductionInfo(string prodLine, string team, string shift)
{
ProdLine = prodLine;
Team = team;
Shift = shift;
}
///
/// 生产线
///
[MaxLength(SfsEfCorePropertyConst.CodeLength)]
public string ProdLine { get; set; }
///
/// 班组
///
[MaxLength(SfsEfCorePropertyConst.CodeLength)]
public string Team { get; set; }
///
/// 班次
///
[MaxLength(SfsEfCorePropertyConst.CodeLength)]
public string Shift { get; set; }
protected override IEnumerable