| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using Business.Core.Attributes;
- using Microsoft.EntityFrameworkCore;
- using System;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace Business.Domain
- {
- /// <summary>
- /// 采购申请单占用
- /// </summary>
- [CollectionName("dopbase", "srm_pr_main_occupy")]
- [Comment("采购申请单占用")]
- [Index(nameof(morder_mo),nameof(morder_id), nameof(tenant_id), nameof(company_id), nameof(factory_id), IsUnique = true)]
- public class srm_pr_main_occupy : BaseEntity
- {
- /// <summary>
- /// 工单ID
- /// </summary>
- [Comment("工单ID")]
- public long? morder_id { get; set; }
- /// <summary>
- /// 工单编号
- /// </summary>
- [Comment("工单编号")]
- public string morder_mo { get; set; }
- /// <summary>
- /// 占用量
- /// </summary>
- [Precision(23, 10)]
- [Comment("占用量")]
- public decimal? qty { get; set; }
- /// <summary>
- /// 占用状态
- /// </summary>
- [Comment("占用状态")]
- public int? state { get; set; }
- /// <summary>
- /// 计算ID
- /// </summary>
- [Comment("计算id")]
- [NotMapped]
- public long? bang_id { get; set; }
- }
- }
|