using Business.EntityFrameworkCore;
using Business.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
namespace Bussiness.Model.Tech
{
///
/// 工艺关联工序表
///
public class mes_tech_process:BaseEntity
{
///
/// 工艺工序主键
///
[Key]
public long tech_proc_id { get; set; }
///
/// 工艺主键
///
[Required]
public long tech_id { get; set; }
///
/// 工序主键
///
[Required]
public long proc_id { get; set; }
///
/// 组合层级
///
public int level { get; set; }
///
/// 前置准备时间
///
[DecimalPrecision(20,8)]
public decimal readytime { get; set; }
///
/// 效率计算类型 1-节拍时间;2-UPH
///
public int type { get; set; }
///
/// UPH
///
[DecimalPrecision(20, 8)]
public decimal uph { get; set; }
///
/// 节拍时间
///
[DecimalPrecision(20, 8)]
public decimal ct { get; set; }
///
/// 是否需要跟踪工序
///
public int mototrack { get; set; }
///
/// 下一工序id
///
public long nextprocid { get; set; }
///
/// 父级工序id
///
public long parentprocid { get; set; }
///
/// 是否需要质检
///
public int needqc { get; set; }
///
/// 最大并行工位数
///
public int maxworkshop { get; set; }
}
}