| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using Business.Core.Attributes;
- using Bussiness.MongoModel;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.MongoModel.ProductionProcess
- {
- /// <summary>
- /// 生产操作日志
- /// </summary>
- [CollectionName("dopbase", "mo_mes_prdlog")]
- [Comment("生产操作日志")]
- public class mo_mes_prdlog :MoBaseEntity
- {
- ///// <summary>
- ///// 生产操作日志id
- ///// </summary>
- //[Key]
- //[Comment("生产操作日志id")]
- //public long prdlog_id { get; set; }
- /// <summary>
- /// 业务类型
- /// </summary>
- [Required]
- [StringLength(50)]
- [Comment("业务类型")]
- public string prdlog_type { get; set; }
- /// <summary>
- /// 关联单号
- /// </summary>
- [Required]
- [StringLength(80)]
- [Comment("业务类型")]
- public string prdlog_no { get; set; }
- /// <summary>
- /// 行号
- /// </summary>
- [Comment("行号")]
- public int prdlog_entryid { get; set; }
- /// <summary>
- /// 执行时间
- /// </summary>
- [Comment("执行时间")]
- public DateTime? prdlog_time { get; set; }
- /// <summary>
- /// 执行人id
- /// </summary>
- [Comment("执行人id")]
- public long? prdlog_by_id { get; set; }
- /// <summary>
- /// 执行人姓名
- /// </summary>
- [StringLength(80)]
- [Comment("执行人姓名")]
- public string? prdlog_by_name { get; set; }
- /// <summary>
- /// 内容
- /// </summary>
- [StringLength(255)]
- [Comment("内容")]
- public string? prdlog_note { get; set; }
-
- }
- }
|