| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using Business.Core.Attributes;
- using Bussiness.MongoModel;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.MongoModel.Tech
- {
- /// <summary>
- /// 工序关联设备表
- /// </summary>
- [CollectionName("dopbase", "mo_mes_tech_proc_equipment")]
- [Comment("工序关联设备表")]
- public class mo_mes_tech_proc_equipment : MoBaseEntity
- {
- ///// <summary>
- ///// 主键
- ///// </summary>
- //[Key]
- //[Comment("主键")]
- //public long tech_proc_equip_id { get; set; }
- /// <summary>
- /// 设备id
- /// </summary>
- [Required]
- [Comment("设备id")]
- public long? equip_id { get; set; }
- /// <summary>
- /// 设备名称
- /// </summary>
- [StringLength(100)]
- [Comment("设备名称")]
- public string? equip_name { get; set; }
- /// <summary>
- /// 工艺工序id
- /// </summary>
- [Required]
- [Comment("工艺工序id")]
- public long? tech_proc_id { get; set; }
- /// <summary>
- /// 工作日历id
- /// </summary>
- [Comment("工作日历id")]
- public long? work_calendar_id { get; set; }
- }
- }
|