|
|
|
|
using System;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using FreeSql.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.FreeDb.DBEntity
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Table(Name = "lj_planning")]
|
|
|
|
|
public partial class LjPlanningEntity {
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(IsPrimary = true, IsIdentity = true)]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column(DbType = "nvarchar(10)")]
|
|
|
|
|
public string BegTime { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(DbType = "nvarchar(2)")]
|
|
|
|
|
public string ClassName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column(DbType = "nvarchar(10)")]
|
|
|
|
|
public string EndTime { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 配料Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public int? FormulaId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 配料名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(DbType = "nvarchar(50)")]
|
|
|
|
|
public string FormulaName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否启用 删除标记
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public int? IsEnable { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? NumCar { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计划名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(DbType = "nvarchar(50)")]
|
|
|
|
|
public string PlanName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(DbType = "nvarchar(50)")]
|
|
|
|
|
public string PlanNo { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[Column(DbType = "nvarchar(50)")]
|
|
|
|
|
public string Remark { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计划状态 0 新建 1下发 2暂停 3执行中 4 异常 10结束 11重发
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(DbType = "nvarchar(50)")]
|
|
|
|
|
public string Status { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工作单元 1 2 3 4 共4条线
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public int? Unit { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|