You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

144 lines
4.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace zzz.Model.Entity
{
/// <summary>
/// 递增数据 每次采集数据的产量差值
/// </summary>
[SugarTable("eqmt_collect_add_data")]
public class EqmtCollectAddData
{
/// <summary>
/// id
/// </summary>
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "自增主键")]
public long id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? gmt_create { get; set; } = DateTime.Now;
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? gmt_modified { get; set; }
/// <summary>
/// 设备ID
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "设备ID")]
public int eqmt_id { get; set; }
/// <summary>
/// 设备名称
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "设备名称")]
public string line_name { get; set; }
/// <summary>
/// 采集时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "采集时间")]
public DateTime? add_datetime { get; set; }
/// <summary>
/// 产品
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "产品")]
public string product { get; set; }
/// <summary>
/// 型号
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "型号")]
public string product_type { get; set; }
/// <summary>
/// 型号名称
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "型号名称")]
public string product_type_name { get; set; }
/// <summary>
/// 增加产量
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "增加数量")]
public long add_qty { get; set; }
/// <summary>
/// 增加产量 良品
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "增加数量 良品")]
public long add_qty_ok { get; set; }
/// <summary>
/// 增加产量 不良品
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "增加数量 不良品")]
public long add_qty_ng { get; set; }
/// <summary>
/// 采集间隔时间(秒)
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "采集间隔时间(秒)")]
public int add_during_time { get; set; }
/// <summary>
/// OEE
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "OEE",ColumnDataType = "decimal(20,2)")]
public decimal oee { get; set; }
/// <summary>
/// 当班完成率
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "当班完成率", ColumnDataType = "decimal(20,2)")]
public decimal shift_complete_rate { get; set; }
/// <summary>
/// 设备状态 0关机;1:开机;2:待机
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "设备状态 0关机;1:开机;2:待机")]
public byte eqmt_status { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建人",Length =50)]
public string create_by { get; set; }
/// <summary>
/// 创建日期
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建日期")]
public DateTime? create_time { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "更新人", Length = 50)]
public string update_by { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "更新日期")]
public DateTime? update_time { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "所属部门", Length = 64)]
public string sys_org_code { get; set; }
}
}