| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using Business.Core.Attributes;
- using Microsoft.EntityFrameworkCore;
- using MongoDB.Bson.Serialization.Attributes;
- using System.ComponentModel.DataAnnotations;
- namespace Business.Domain
- {
- /// <summary>
- /// 工序表
- /// </summary>
- [CollectionName("dopbase", "mes_process")]
- [Comment("工序表")]
- public class mes_process : BaseEntity
- {
- ///// <summary>
- ///// 工序主键
- ///// </summary>
- //[Key]
- //[Comment("工序主键")]
- //public long proc_id { get; set; }
- /// <summary>
- /// 工序名称
- /// </summary>
- [Required]
- [StringLength(100)]
- [Comment("工序名称")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string proc_name { get; set; }
- /// <summary>
- /// 简述
- /// </summary>
- [StringLength(500)]
- [Comment("简述")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string short_desc { get; set; }
- /// <summary>
- /// 详细描述
- /// </summary>
- [StringLength(2000)]
- [Comment("详细描述")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string long_desc { get; set; }
- /// <summary>
- /// 组合工序id
- /// </summary>
- [StringLength(2000)]
- [Comment("组合工序id")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string subids { get; set; }
- }
- }
|