base_material.cs 3.29 KB
using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;

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

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

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

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

        /// <summary>
        /// 物料对应的PLC编码
        /// </summary>
        [SugarColumn(ColumnDescription = "物料对应的PLC编码", IsNullable = true)]
        public int typesPlcCode { get; set; }

        /// <summary>
        /// 物料类别
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "物料类别", IsNullable = true)]
        public string mtTypeCode { get; set; }

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

        /// <summary>
        /// 唯一标识
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "唯一标识", IsNullable = true)]
        public string plmeId { get; set; }

        /// <summary>
        /// 工厂编码/供应商编码
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "工厂编码/供应商编码", IsNullable = true)]
        public string factoryCode { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "规格", IsNullable = true)]
        public string specifications { 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>
        /// 是否有效 : 1=有效, 0=无效
        /// </summary>
        [SugarColumn(ColumnDescription = "是否有效 : 1=有效, 0=无效", IsNullable = true)]
        public int isDelete { 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; }

        /// <summary>
        /// 精追件标识
        /// </summary>
        public string crux { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }

        /// <summary>
        /// 实际重量
        /// </summary>
        public string weight { get; set; }
    }
}