using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
///
/// 工艺路线子表
///
[SugarTable("bas_route_d")]
public partial class BasRouteD : BaseEntity
{
public BasRouteD()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 工艺路线ID
///
public string route_id { get; set; } = string.Empty;
///
/// 工序id
///
public string process_id { get; set; } = string.Empty;
///
/// 工序代码
///
public string? process_code { get; set; }
///
/// 工序名称
///
public string? process_name { get; set; }
///
/// 处理时间
///
public decimal? process_time { get; set; }
///
/// 排序
///
public long? ordinal { get; set; }
///
/// 备注
///
public string? remark { get; set; }
///
/// 状态
///
public int? status { get; set; }
///
/// 单次扫码
///
public string? single_scan_type { get; set; }
///
/// 工位
///
public string? station { get; set; }
///
/// 一码到底
///
public string? only_scan_type { get; set; }
///
/// 用料追溯关系
///
public string? material_traced_back_relationship { get; set; }
///
/// 不合格产品投产
///
public string? defective_products_put_into_production { get; set; }
///
/// 报告模板
///
public string? report_template { get; set; }
///
/// 描述
///
public string? descrip { get; set; }
///
/// 附件
///
public string? attachment { get; set; }
///
/// 接续方式 1 前序结束之后可以开始 2 前序开始后可以开始
///
public string? connection_method { get; set; }
///
/// 准备时间(秒)
///
public decimal? preparation_time { get; set; }
///
/// 产出比
///
public decimal? output_ratio { get; set; }
///
/// 工序编号
///
public string? no { get; set; }
///
/// 上道工序编号
///
public string? last_process_no { get; set; }
///
/// 下道工序编号
///
public string? next_process_no { get; set; }
}