Sn.cs 1.86 KB
using SqlSugar;
using System;

namespace Hh.Mes.POJO.WMSEntity
{
    [SugarTable("sn")]
    public class Sn
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// sn编码
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 项目号或工单号
        /// </summary>
        public string correlatedCode { get; set; }

        /// <summary>
        /// 0默认,1已出库,2已同步
        /// </summary>
        public int syncIot { get; set; }

        /// <summary>
        /// 项目号
        /// </summary>
        public string mocode { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? created { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string createdBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? lastUpdated { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string lastUpdatedBy { get; set; }

        /// <summary>
        /// sn来源,授权系统,网关入库
        /// </summary>
        public string source { get; set; }

        /// <summary>
        /// 部件数量
        /// </summary>
        public int partNum { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public string applyTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        public string licenseUser { get; set; }

        /// <summary>
        /// 授权时间
        /// </summary>
        public string licenseTime { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string mocodeName { get; set; }
    }
}