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