| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- using Business.Core.Attributes;
- using Microsoft.EntityFrameworkCore;
- using MongoDB.Bson.Serialization.Attributes;
- using System.ComponentModel.DataAnnotations;
- namespace Business.Domain
- {
- /// <summary>
- /// 物料替代多群组明细
- /// </summary>
- [CollectionName("dopbase", "ic_substitute_group_detail")]
- [Comment("物料替代多群组明细")]
- public class ic_substitute_group_detail : BaseEntity
- {
- /// <summary>
- /// 替代多群组主键
- /// </summary>
- [Required]
- [Comment("替代多群组主键")]
- public long substitute_group_id { get; set; }
- /// <summary>
- /// 群组代码
- /// </summary>
- [StringLength(20)]
- [Comment("群组代码")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string substitute_code { get; set; }
- /// <summary>
- /// 物料主键
- /// </summary>
- [Required]
- [Comment("物料主键")]
- public long icitem_id { get; set; }
- /// <summary>
- /// 物料编码
- /// </summary>]
- [StringLength(20)]
- [Comment("物料编码")]
- public string icitem_number { get; set; }
- /// <summary>
- /// 版本号
- /// </summary>
- [StringLength(80)]
- [Comment("版本号")]
- public string fversion { get; set; }
- /// <summary>
- /// 主/替
- /// </summary>
- [Comment("主/替")]
- public int? ismain { get; set; }
- /*/// <summary>
- /// 使用数量
- /// </summary>
- [Precision(23, 10)]
- [Comment("使用数量")]
- public decimal? use_amount { get; set; }*/
- /// <summary>
- /// 序号
- /// </summary>
- [Comment("序号")]
- public int? seq { get; set; }
- /// <summary>
- /// 替代数量
- /// </summary>
- [Precision(23, 10)]
- [Comment("替代数量")]
- public decimal? replace_qty { get; set; }
- }
- }
|