Extension.cs 8.24 KB
using Hh.Mes.POJO.Entity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Hh.Mes.POJO.Entity
{
    public class base_entity
    {
        /// <summary>
        /// 建立时间
        /// </summary>
        [SugarColumn(ColumnDescription = "建立时间", IsNullable = true)]
        public DateTime createTime { get; set; }

        /// <summary>
        /// 建立者
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "建立者", IsNullable = true)]
        public string createBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public DateTime updateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "更新者", IsNullable = true)]
        public string updateBy { get; set; }

        [SugarColumn(IsIgnore = true)]
        public bool Exel { get; set; }
    }

    public class base_Entity
    {
        [SugarColumn(IsIgnore = true)]
        public bool Exel { get; set; }
    }

    public partial class sys_punch_clock
    {
        [SugarColumn(IsIgnore = true)]
        public DateTime? startTime { get; set; }

        [SugarColumn(IsIgnore = true)]
        public DateTime? endTime { get; set; }
    }


    public partial class base_material
    {
        /// <summary>
        /// 新增,更新,删除标识Flag 0 新增 1 更新,2 删除
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int flag { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string codeOrName { get; set; }

        /// <summary>
        /// 物料页面新增编辑 区分物料还是物料BOM比例 
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string addOrEditFlag { get; set; }
        
    }

    public partial class base_work_station
    {

        [SugarColumn(IsIgnore = true)]
        public string keyword { get; set; }
    }

    public partial class base_weld_technology_head
    {

        [SugarColumn(IsIgnore = true)]
        public sys_File body { get; set; }

        [SugarColumn(IsIgnore = true)]
        public List<base_weld_technology_detail> detail { get; set; }

        [SugarColumn(IsIgnore = true)]
        public bool isFileChange { get; set; }
    }

    public partial class base_station_user_rel
    {
        /// <summary>
        /// 新增使用 userids(1,2,3,4) 给userid 赋值批量新增
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string userids { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string lineName { get; set; }
    }


    public partial class base_station_team_rel
    {
        /// <summary>
        /// 新增使用 userids(1,2,3,4) 给userid 赋值批量新增
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string userids { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string lineName { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string stationName { get; set; }
    }


    public partial class base_product_shift
    {
        [SugarColumn(IsIgnore = true)]
        public Queue<base_product_shift_time> body { get; set; }
    }


    public partial class base_process_route_detail
    {
        [SugarColumn(IsIgnore = true)]
        public List<Guid> headkeysList { get; set; }        

        /// <summary>
        /// 线体编号
        /// </summary>
        public string LineCode { get; set; }
    }

    partial class base_location
    {
        /// <summary>
        /// 叫料状态
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int askingStatus { get; set; }
    }

    public partial class base_product_header
    {
        [SugarColumn(IsIgnore = true)]
        public string productCodeOrProductName { get; set; }
    }

    public partial class base_product_detail
    {
        [SugarColumn(IsIgnore = true)]
        public List<Guid> headKeyList { get; set; }
    }


    public partial class bus_workOrder_detail
    {
        [SugarColumn(IsIgnore = true)]
        public List<Guid> headKeyList { get; set; }

        /// <summary>
        /// 工作中心编码/站台编码
        /// </summary>
        public string workCenterCode { get; set; }

        /// <summary>
        /// 报工状态
        /// <see cref="EnumWorkReportStatus"/>
        /// </summary>
        public int workReportStatus { get; set; }

        /// <summary>
        /// 工位编码
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int stationName { get; set; }
    }

    public partial class bus_agv_task
    {
        [SugarColumn(IsIgnore = true)]
        public string StartStationName { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string EndStationName { get; set; }
    }

    public partial class bus_agv_task_his
    {
        [SugarColumn(IsIgnore = true)]
        public string StartStationName { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string EndStationName { get; set; }
    }


    public partial class bus_workOrder_head
    {
        [SugarColumn(IsIgnore = true)]
        public bool Exel { get; set; }

        /// <summary>
        /// 工单工作包Code
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string otherOrderCode { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string stateDes { get; set; }

        /// <summary>
        /// 工序编码[弃用]
        /// </summary>
        public string oprSequenceCode { get; set; }

        /// <summary>
        /// 工序顺序号
        /// </summary>
        public int oprSequence { get; set; }

        /// <summary>
        /// 实际工时
        /// </summary>
        public decimal oprTimeVal { get; set; }

        /// <summary>
        /// 工艺路线编码
        /// </summary>
        public string processCode { get; set; }
    }


    public partial  class bus_work_report_check_body
    {
        [SugarColumn(IsIgnore = true)]
        public List<Guid> headkeysList { get; set; }
    }


    public partial class sys_interface_log
    {
        //最早日志时间
        [SugarColumn(IsIgnore = true)]
        public DateTime? BeginLogTime { get; set; }

        //最晚日志时间
        [SugarColumn(IsIgnore = true)]
        public DateTime? EndLogTime { get; set; }
    }

    public partial class bus_material_distribute_load_detail
    {
        [SugarColumn(IsIgnore = true)]
        public List<Guid> headKeyList { get; set; }
    }


    public partial class bus_material_distribute_load_template_head
    {
        [SugarColumn(IsIgnore = true)]
        public List<bus_material_distribute_load_template_detail> body { get; set; }
    }



    public partial class bus_material_distribute_load_template_detail
    {
        [SugarColumn(IsIgnore = true)]
        public List<Guid> headKeyList { get; set; }
    }


    public partial class bus_material_distribute_load_head
    {
        [SugarColumn(IsIgnore = true)]
        public List<GroupData> table { get; set; }

        /// <summary>
        /// edit读取装料数据 新增读取模板数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string flag{ get; set; }

    }

    public partial class base_team_user
    {
        [SugarColumn(IsIgnore = true)]
        public string teamCode { get; set; }

        [SugarColumn(IsIgnore = true)]
        public int userId { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string userName { get; set; }
    }

    public partial class GroupData
    {
        /// <summary>
        /// 组编号(每组对应不同的物料,PLC定义)
        /// </summary>
        public int? sequence { get; set; }

        public string materialCode { get; set; }

        public int? row { get; set; }
        /// <summary>
        /// 列
        /// </summary>

        public int? line { get; set; }
        /// <summary>
        /// 层
        /// </summary>
        public int? layer { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? qty { get; set; }

        public Guid bodyKeys { get; set; }

    }

}