using Bussiness.MongoModel; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using MongoDB.Driver.Core; using Business.Core.Attributes; using MongoDB.Bson.Serialization.Attributes; using Microsoft.EntityFrameworkCore; namespace Bussiness.MongoModel.Tech { /// /// 工序表 /// [CollectionName("dopbase", "mo_mes_process")] [Comment("工序表")] public class mo_mes_process : MoBaseEntity { ///// ///// 工序主键 ///// //[Key] //[Comment("工序主键")] //public long proc_id { get; set; } /// /// 工序名称 /// [Required] [StringLength(100)] [Comment("工序名称")] [BsonRepresentation(MongoDB.Bson.BsonType.String)] public string? proc_name { get; set; } /// /// 简述 /// [StringLength(500)] [Comment("简述")] [BsonRepresentation(MongoDB.Bson.BsonType.String)] public string? short_desc { get; set; } /// /// 详细描述 /// [StringLength(2000)] [Comment("详细描述")] [BsonRepresentation(MongoDB.Bson.BsonType.String)] public string? long_desc { get; set; } /// /// 组合工序id /// [StringLength(2000)] [Comment("组合工序id")] [BsonRepresentation(MongoDB.Bson.BsonType.String)] public string? subids { get; set; } } }