41 lines
1.5 KiB
C#
41 lines
1.5 KiB
C#
|
|
using System.Text.Json.Serialization;
|
||
|
|
|
||
|
|
namespace YY.Admin.Core.Entity;
|
||
|
|
|
||
|
|
public class MesMixerMaterial
|
||
|
|
{
|
||
|
|
public string? Id { get; set; }
|
||
|
|
public string? MaterialCode { get; set; }
|
||
|
|
public string? MaterialName { get; set; }
|
||
|
|
public string? ErpCode { get; set; }
|
||
|
|
public string? MajorCategoryId { get; set; }
|
||
|
|
public string? MinorCategoryId { get; set; }
|
||
|
|
public string? MaterialDesc { get; set; }
|
||
|
|
public string? AliasName { get; set; }
|
||
|
|
public int? FeedManageStatus { get; set; }
|
||
|
|
public int? UseStatus { get; set; }
|
||
|
|
public double? SpecificGravity { get; set; }
|
||
|
|
public int? ShelfLifeDays { get; set; }
|
||
|
|
public int? MinBakeMinutes { get; set; }
|
||
|
|
public double? TotalSafetyStockKg { get; set; }
|
||
|
|
public double? QualifiedSafetyStockKg { get; set; }
|
||
|
|
public string? Remark { get; set; }
|
||
|
|
public int? TenantId { get; set; }
|
||
|
|
public string? SysOrgCode { get; set; }
|
||
|
|
public string? CreateBy { get; set; }
|
||
|
|
public DateTime? CreateTime { get; set; }
|
||
|
|
public string? UpdateBy { get; set; }
|
||
|
|
public DateTime? UpdateTime { get; set; }
|
||
|
|
public int? DelFlag { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("majorCategoryId_dictText")]
|
||
|
|
public string? MajorCategoryText { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("minorCategoryId_dictText")]
|
||
|
|
public string? MinorCategoryText { get; set; }
|
||
|
|
|
||
|
|
public string FeedManageStatusText => FeedManageStatus == 1 ? "在投管" : "未投管";
|
||
|
|
public string UseStatusText => UseStatus == 1 ? "使用中" : "停用";
|
||
|
|
}
|
||
|
|
|