base_material_rate.cs 3.2 KB
using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hh.Mes.POJO.Entity
{
    public partial class base_material_rate : base_Entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// Key值
        /// </summary>
        [SugarColumn(ColumnDescription = "Key值", IsNullable = true)]
        public Guid materialKeys { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "物料编码")]
        public string materialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "物料名称")]
        public string materialName { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "规格", IsNullable = true)]
        public string specifications { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [SugarColumn(Length = 100,ColumnDescription ="单位")]
        public string unitCode { get; set; }

        /// <summary>
        /// 物料分类 法兰、管件、弯通等等
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "物料分类", IsNullable = true)]
        public string mtClassify { get; set; }


        /// <summary>
        /// 工序
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "工序", IsNullable = true)]
        public string oprSequenceCode { get; set; }
        
        /// <summary>
        /// 使用比例 默认值1
        /// </summary>
        public int? quantityRate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(Length = 500, ColumnDescription = "备注", IsNullable = true)]
        public string remark { get; set; }

        /// <summary>
        /// 扩展字段
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "扩展字段", IsNullable = true)]
        public string extend1 { get; set; }

        /// <summary>
        /// 扩展字段
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "扩展字段", IsNullable = true)]
        public string extend2 { get; set; }

        /// <summary>
        /// 扩展字段
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "扩展字段", IsNullable = true)]
        public string extend3 { get; set; }

        /// <summary>
        /// 扩展字段
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "扩展字段", IsNullable = true)]
        public string extend4 { get; set; }

        [SugarColumn(IsNullable = true)]
        public DateTime createTime { get; set; }

        [SugarColumn(Length = 80, IsNullable = true)]
        public string createBy { get; set; }

        [SugarColumn(IsNullable = true)]
        public DateTime updateTime { get; set; }

        [SugarColumn(Length = 80, IsNullable = true)]
        public string updateBy { get; set; }
    }
}