41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
using BarCode.Web.Core;
|
|
using BarCode.Web.Domain.Values;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BarCode.Web.Domain.Entitys
|
|
{
|
|
/// <summary>
|
|
/// 生成计划管理
|
|
/// </summary>
|
|
[Serializable]
|
|
[Table("t_wms_cenerate_date")]
|
|
public class CenerateData : EntityBase
|
|
{
|
|
public CenerateData() { }
|
|
public CenerateData(CenerateDataType type)
|
|
{
|
|
this.Type = type;
|
|
}
|
|
/// <summary>
|
|
/// 主键 订单编号
|
|
/// </summary>
|
|
[Column("Id")]
|
|
public override int Id { get; set; }
|
|
/// <summary>
|
|
/// 同步类型
|
|
/// </summary>
|
|
[Column("Type")]
|
|
public CenerateDataType Type { get; set; } = CenerateDataType.Serial;
|
|
/// <summary>
|
|
/// 数量
|
|
/// </summary>
|
|
[Column("Number")]
|
|
public int Number { get; set; } = 1;
|
|
}
|
|
}
|