using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Model.ApiModel.OutStore;

namespace WCS.BLL.DbModels
{
    [SugarTable("order_light")]
    public class OrderLight
    {
        /// <summary>
        /// 主键 自增Id
        /// </summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsNullable = false, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 出库单据号
        /// </summary>           
        [SugarColumn(ColumnName = "order_number", Length = 50, IsNullable = true, ColumnDescription = "出库单据号")]
        public string OrderNumber { get; set; }

        /// <summary>
        /// 单据执行状态：	待发料，	开始发料，	暂停发料，	发料完成
        /// </summary>           
        [SugarColumn(ColumnName = "order_exe_status", IsNullable = true, ColumnDescription = "执行状态：\t待发料，\t开始发料，\t暂停发料，\t发料完成")]
        public OutOrderExeStatus OutOrderExeStatus { get; set; } = OutOrderExeStatus.待发料;

        /// <summary>
        /// 单灯颜色
        /// </summary>           
        [SugarColumn(ColumnName = "lightcolor", Length = 50, IsNullable = false, ColumnDescription = "单灯颜色")]
        public string LightColor { get; set; }
    }
}
