| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- using Business.Core.Attributes;
- using Bussiness.MongoModel;
- using Microsoft.EntityFrameworkCore;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Bussiness.MongoModel.MES.IC
- {
- /// <summary>
- /// 物料检验表
- /// </summary>
- [CollectionName("dopbase", "mo_ic_check")]
- [Comment("物料检验表")]
- public class mo_ic_check : MoBaseEntity
- {
- /// <summary>
- /// 主键
- /// </summary>
- [Key]
- [Required]
- [Comment("主键")]
- public long ic_check_id { get; set; }
- /// <summary>
- /// 工厂编码
- /// </summary>
- [StringLength(80)]
- [Comment("工厂编码")]
- public string? factory_code { get; set; }
- /// <summary>
- /// 物料id
- /// </summary>
- [Required]
- [Comment("物料id")]
- public long icitem_id { get; set; }
- /// <summary>
- /// 批次号
- /// </summary>
- [StringLength(80)]
- [Comment("批次号")]
- public string? batch_no { get; set; }
- /// <summary>
- /// 检验方案
- /// </summary>
- [StringLength(80)]
- [Comment("检验方案")]
- public string? inspection_project { get; set; }
- /// <summary>
- /// 检验员
- /// </summary>
- [StringLength(80)]
- [Comment("检验员")]
- public string? identifier { get; set; }
- /// <summary>
- /// 检验卡号
- /// </summary>
- [StringLength(80)]
- [Comment("检验卡号")]
- public string? chk_card { get; set; }
- /// <summary>
- /// 采购检验方式
- /// </summary>
- [Comment("采购检验方式")]
- public long? inspection_level { get; set; }
- /// <summary>
- /// 委外加工检验方式
- /// </summary>
- [Comment("委外加工检验方式")]
- public long? ww_chk_mde { get; set; }
- /// <summary>
- /// 产品检验方式
- /// </summary>
- [Comment("产品检验方式")]
- public long? pro_chk_mde { get; set; }
- /// <summary>
- /// 发货检验方式
- /// </summary>
- [Comment("发货检验方式")]
- public long? so_chk_mde { get; set; }
- /// <summary>
- /// 退货检验方式
- /// </summary>
- [Comment("退货检验方式")]
- public long? wth_drw_chk_mde { get; set; }
- /// <summary>
- /// 库存检验方式
- /// </summary>
- [Comment("库存检验方式")]
- public long? stk_chk_mde { get; set; }
- /// <summary>
- /// 其他检验方式
- /// </summary>
- [Comment("其他检验方式")]
- public long? other_chk_mde { get; set; }
- /// <summary>
- /// 抽样标准_致命
- /// </summary>
- [Comment("抽样标准_致命")]
- public string? critical_samp_std { get; set; }
- /// <summary>
- /// 抽样标准_严重
- /// </summary>
- [Comment("抽样标准_严重")]
- public string? samp_std { get; set; }
- /// <summary>
- /// 抽样标准_轻微
- /// </summary>
- [Comment("抽样标准_轻微")]
- public string? slight_samp_std { get; set; }
- /// <summary>
- /// 库存检验周期_天
- /// </summary>
- [Comment("库存检验周期_天")]
- public decimal? stk_chk_prd { get; set; }
- /// <summary>
- /// 库存周期检验预警提前期_天
- /// </summary>
- [Comment("库存周期检验预警提前期_天")]
- public decimal? stk_chk_alrm { get; set; }
- /// <summary>
- /// 保质期管理
- /// </summary>
- [Comment("保质期管理")]
- public int? allow_exp { get; set; }
- /// <summary>
- /// 有效天数
- /// </summary>
- [Comment("有效天数")]
- public decimal? effecdays { get; set; }
- /// <summary>
- /// 复检天数
- /// </summary>
- [Comment("复检天数")]
- public decimal? retestdays { get; set; }
- /// <summary>
- /// 是否质检
- /// </summary>
- [Comment("是否质检")]
- public int? istest { get; set; }
- /// <summary>
- /// 质检周期/天
- /// </summary>
- [Comment("质检周期/天")]
- public decimal? testperid { get; set; }
- /// <summary>
- /// 检验项目
- /// </summary>
- [StringLength(80)]
- [Comment("检验项目")]
- public long? test_item { get; set; }
- /// <summary>
- /// 质量备注
- /// </summary>
- [StringLength(1000)]
- [Comment("质量备注")]
- public long? quality_note { get; set; }
- }
- }
|