|
|
using SlnMesnac.Model.enums;
|
|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Text;
|
|
|
|
|
|
#region << 版 本 注 释 >>
|
|
|
/*--------------------------------------------------------------------
|
|
|
* 版权所有 (c) 2024 WenJY 保留所有权利。
|
|
|
* CLR版本:4.0.30319.42000
|
|
|
* 机器名称:LAPTOP-E0N2L34V
|
|
|
* 命名空间:SlnMesnac.Model.domain
|
|
|
* 唯一标识:15806f20-59dd-494f-90ed-add2b6f0a0a1
|
|
|
*
|
|
|
* 创建者:WenJY
|
|
|
* 电子邮箱:wenjy@mesnac.com
|
|
|
* 创建时间:2024-04-07 16:55:41
|
|
|
* 版本:V1.0.0
|
|
|
* 描述:
|
|
|
*
|
|
|
*--------------------------------------------------------------------
|
|
|
* 修改人:
|
|
|
* 时间:
|
|
|
* 修改说明:
|
|
|
*
|
|
|
* 版本:V1.0.0
|
|
|
*--------------------------------------------------------------------*/
|
|
|
#endregion << 版 本 注 释 >>
|
|
|
namespace SlnMesnac.Model.domain
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 生产计划明细;车间生产派工
|
|
|
/// </summary>
|
|
|
[SugarTable("mes_product_plan_detail")]
|
|
|
public class MesProductPlanDetail
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键标识
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "plan_detail_id", IsPrimaryKey = true, IsIdentity = true)]
|
|
|
public long PlanDetailId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 明细编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "plan_detail_code")]
|
|
|
public string PlanDetailCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 生产计划ID
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "plan_id")]
|
|
|
public long PlanId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 计划编号, 关联mes_product_plan_info的plan_code
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "plan_code")]
|
|
|
public string PlanCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 操作人员ID,关联sys_user的user_id
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "user_id")]
|
|
|
public long? UserId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 操作人员名称,关联sys_user的user_name
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "user_name")]
|
|
|
public string UserName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 开始时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "real_begin_time")]
|
|
|
public DateTime? RealBeginTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 完成时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "real_end_time")]
|
|
|
public DateTime? RealEndTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 文件ID,关联附件信息主键
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "attach_id")]
|
|
|
public int? AttachId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 明细状态:1-未开始;2-已开始;3-已完成;9-异常完成
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "plan_detail_status")]
|
|
|
public string PlanDetailStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否标识:1-是;0-否
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "is_flag")]
|
|
|
public string IsFlag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 备注
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "remark")]
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 创建人
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "create_by")]
|
|
|
public string CreateBy { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 创建时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "create_time")]
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 更新人
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "update_by")]
|
|
|
public string UpdateBy { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 更新时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "update_time")]
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 物料条码
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "material_barcode")]
|
|
|
public string MaterialBarcode { get; set; }
|
|
|
}
|
|
|
|
|
|
}
|