| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using Business.Model;
- 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;
- namespace Bussiness.Model.Tech
- {
- /// <summary>
- /// 工序表
- /// </summary>
- [CollectionName("dopbase", "mes_process")]
- public class mes_process : BaseEntity
- {
- ///// <summary>
- ///// 工序主键
- ///// </summary>
- //[Key]
- //[Description("工序主键")]
- //public long proc_id { get; set; }
- /// <summary>
- /// 工序名称
- /// </summary>
- [Required]
- [StringLength(100)]
- [Description("工序名称")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? proc_name { get; set; }
- /// <summary>
- /// 简述
- /// </summary>
- [StringLength(500)]
- [Description("简述")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? short_desc { get; set; }
- /// <summary>
- /// 详细描述
- /// </summary>
- [StringLength(2000)]
- [Description("详细描述")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? long_desc { get; set; }
- /// <summary>
- /// 组合工序id
- /// </summary>
- [StringLength(2000)]
- [Description("组合工序id")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? subids { get; set; }
- }
- }
|