using Business.Core.Attributes;
using Business.Model;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Bussiness.Model.Tech
{
///
/// 工序关联设备表
///
[CollectionName("dopbase", "mes_tech_proc_equipment")]
public class mes_tech_proc_equipment : BaseEntity
{
/////
///// 主键
/////
//[Key]
//[Description("主键")]
//public long tech_proc_equip_id { get; set; }
///
/// 设备id
///
[Required]
[Description("设备id")]
public long? equip_id { get; set; }
///
/// 设备名称
///
[StringLength(100)]
[Description("设备名称")]
public string? equip_name { get; set; }
///
/// 工艺工序id
///
[Required]
[Description("工艺工序id")]
public long? tech_proc_id { get; set; }
///
/// 工作日历id
///
[Description("工作日历id")]
public long? work_calendar_id { get; set; }
}
}