You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
819 B
C#
39 lines
819 B
C#
using FreeSql.DataAnnotations;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.AutoControl.DB
|
|
{
|
|
public class DeviceMaterrial
|
|
{
|
|
|
|
[Column(IsPrimary = true, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备编号
|
|
/// </summary>
|
|
public int DeviceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 对应物料的Id
|
|
/// </summary>
|
|
|
|
public int MaterrialId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 1 干混机 2 糊化机
|
|
/// </summary>
|
|
|
|
public int Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数据库code
|
|
/// </summary
|
|
public int Code { get; set; }
|
|
|
|
|
|
public float Weight { get; set; } = 0;
|
|
|
|
public float Allowance { get; set; } = 0;
|
|
|
|
}
|
|
} |