新增舱位用途

usertest
jianghaiqing 3 months ago
parent d300826158
commit 231398b4ee

@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Dtos
{
/// <summary>
/// 舱位用途枚举
/// </summary>
public enum BookingSlotUseToEnum
{
/// <summary>
/// 指定货
/// </summary>
[Description("指定货")]
ASSIGN_FORWARDER,
/// <summary>
/// 专属客户
/// </summary>
[Description("专属客户")]
GUEST_ONLY,
/// <summary>
/// 专属销售
/// </summary>
[Description("专属销售")]
SALEER_ONLY,
/// <summary>
/// 专属公司
/// </summary>
[Description("专属公司")]
COMPANY_ONLY,
/// <summary>
/// 品名大类
/// </summary>
[Description("品名大类")]
GOODS,
/// <summary>
/// HSCODE
/// </summary>
[Description("HSCODE")]
HSCODE
}
}

@ -0,0 +1,46 @@
using DS.Module.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity
{
/// <summary>
/// 舱位管理用途表
/// </summary>
[SqlSugar.SugarTable("op_sea_booking_slot_useto", "舱位管理用途表")]
public class BookingSlotUseTo : BaseModel<long>
{
/// <summary>
/// 舱位主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "舱位主键", IsNullable = false)]
public long SlotId { get; set; }
/// <summary>
/// 用途代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "用途代码", Length = 20, IsNullable = true)]
public string UseTo { get; set; }
/// <summary>
/// 用途名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "用途名称", Length = 50, IsNullable = true)]
public string UseToName { get; set; }
/// <summary>
/// 用途值
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "用途值", Length = 100, IsNullable = true)]
public string UseToVal { get; set; }
/// <summary>
/// 用途显示值
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "用图值显示值", Length = 100, IsNullable = true)]
public string UseToValShow { get; set; }
}
}

@ -257,5 +257,8 @@ namespace DS.WMS.Core.Op.Interface
/// <param name="model">请求参数</param>
/// <returns></returns>
Task<DataResult<string>> BringInBookingSlotToOrder(BringInBookingSlotReq model);
//Task<DataResult<string>> GetSlotUseToConfig();
}
}

Loading…
Cancel
Save