251029
This commit is contained in:
76
FATrace.Model/RawProInput.cs
Normal file
76
FATrace.Model/RawProInput.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace FATrace.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 原料生产
|
||||
/// 入库信息
|
||||
/// </summary>
|
||||
[Table(Name = "RawProInput")]
|
||||
public class RawProInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原料编号
|
||||
/// </summary>
|
||||
[Column(Name = "RawCode", IsNullable = false, StringLength = 30)]
|
||||
public string? RawCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原料名称
|
||||
/// </summary>
|
||||
[Column(Name = "RawName", IsNullable = false, StringLength = 100)]
|
||||
public string? RawName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 入库重量
|
||||
/// </summary>
|
||||
[Column(Name = "Weight")]
|
||||
public double Weight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批号
|
||||
/// </summary>
|
||||
[Column(Name = "Batch", IsNullable = false, StringLength = 50)]
|
||||
public string? Batch { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 保质期 年
|
||||
/// </summary>
|
||||
[Column(Name = "ShelfLife")]
|
||||
public int ShelfLife { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原料来源
|
||||
/// </summary>
|
||||
[Column(Name = "RawSource")]
|
||||
public RawSource RawSource { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 剩余重量
|
||||
/// Kg
|
||||
/// </summary>
|
||||
[Column(Name = "RemainWeight")]
|
||||
public double RemainWeight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///分拆 状态
|
||||
/// false:未分拆完毕
|
||||
/// true:分拆完毕
|
||||
/// </summary>
|
||||
[Column(Name = "RawState")]
|
||||
public RawSplitState RawState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user