using Business.Core.Attributes;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
namespace Business.Domain
{
///
/// 物料替代多群组
///
[CollectionName("dopbase", "ic_substitute_group")]
[Comment("物料替代多群组")]
public class ic_substitute_group : BaseEntity
{
///
/// 群组主键
///
[Required]
[Comment("群组主键")]
public long substitute_group_id { get; set; }
///
/// 群组代码
///
[StringLength(20)]
[Comment("群组代码")]
public string substitute_code { get; set; }
///
/// 替代关系
///
[StringLength(2000)]
[Comment("替代关系")]
public string replace_relation { get; set; }
///
/// 替代名称
///
[StringLength(50)]
[Comment("替代名称")]
public string replace_name { get; set; }
///
/// 替代方式
///
[StringLength(50)]
[Comment("替代方式")]
public string replace_way { get; set; }
///
/// 产品线
///
[StringLength(50)]
[Comment("产品线")]
public string product_line { get; set; }
///
/// 使用机型
///
[StringLength(5000)]
[Comment("使用机型")]
public string use_model { get; set; }
///
/// 群组优先级
///
[Comment("群组优先级")]
public int? order_num { get; set; }
///
/// 主料/替代料
///
[Comment("主料/替代料")]
public int? main_material { get; set; }
}
}