110 lines
3.0 KiB
C#
110 lines
3.0 KiB
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FATrace.Model
|
|
{
|
|
/// <summary>
|
|
/// 原料生产 使用信息
|
|
/// </summary>
|
|
[Table(Name = "RawProUse")]
|
|
public class RawProUse
|
|
{
|
|
/// <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 = "InBagCode", IsNullable = false, StringLength = 100)]
|
|
public string? InBagCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 外箱二维码
|
|
/// </summary>
|
|
[Column(Name = "BoxCode", IsNullable = false, StringLength = 100)]
|
|
public string? BoxCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 批号
|
|
/// </summary>
|
|
[Column(Name = "Batch", IsNullable = false, StringLength = 50)]
|
|
public string? Batch { get; set; }
|
|
|
|
/// <summary>
|
|
/// 保质期 年
|
|
/// </summary>
|
|
[Column(Name = "ShelfLife")]
|
|
public double ShelfLife { get; set; }
|
|
|
|
/// <summary>
|
|
/// 称重重量 g 克
|
|
/// </summary>
|
|
[Column(Name = "Weight")]
|
|
public double Weight { get; set; }
|
|
|
|
/// <summary>
|
|
/// 剩余重量 g 克
|
|
/// 剩余重量 = 当前产品的入库总重量-当前称重的称量重量
|
|
/// </summary>
|
|
[Column(Name = "RemainWeight")]
|
|
public double RemainWeight { get; set; }
|
|
|
|
/// <summary>
|
|
/// 入库总重量
|
|
/// 当前的入库的总重量
|
|
/// </summary>
|
|
[Column(Name = "StockWeight")]
|
|
public double StockWeight { get; set; }
|
|
|
|
/// <summary>
|
|
/// 称重时间
|
|
/// </summary>
|
|
[Column(Name = "WeightTime")]
|
|
public DateTime WeightTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作者
|
|
/// </summary>
|
|
[Column(Name = "OpUser", IsNullable = false, StringLength = 20)]
|
|
public string? OpUser { get; set; }
|
|
|
|
/// <summary>
|
|
/// 确认者
|
|
/// </summary>
|
|
[Column(Name = "CheckUser", IsNullable = false, StringLength = 100)]
|
|
public string? CheckUser { get; set; }
|
|
|
|
/// <summary>
|
|
/// 出库时间
|
|
/// 外箱扫码出库时间
|
|
/// </summary>
|
|
[Column(Name = "OutTime")]
|
|
public DateTime OutTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|