using Business.Core.Attributes; using Business.Model; using Microsoft.EntityFrameworkCore; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Business.Model.Tech { /// /// 工位表(工作中心) /// [CollectionName("dopbase", "mes_workshop")] [Comment("工位表(工作中心)")] public class mes_workshop : BaseEntity { ///// ///// 工位表主键 ///// //[Key] //[Comment("工位表主键")] //public long workshop_id { get; set; } /// /// 工位名称 /// [StringLength(100)] [Comment("工位名称")] public string? name { get; set; } /// /// 组合工位ids /// [StringLength(2000)] [Comment("组合工位ids")] public string? subids { get; set; } /// /// 坐标 /// [StringLength(100)] [Comment("坐标")] public string? geoinfo { get; set; } /// /// 楼栋 /// [StringLength(100)] [Comment("楼栋")] public string? building { get; set; } /// /// 楼层 /// [StringLength(100)] [Comment("楼层")] public string? floor { get; set; } /// /// 区域 /// [StringLength(100)] [Comment("区域")] public string? zone { get; set; } /// /// 工作日历id /// [Comment("工作日历id")] public long? work_calendar_id { get; set; } } }