添加订舱编号

master
zhangxiaofeng 6 months ago
parent 53ad6f55f4
commit 0c8a0fcd13

@ -23,7 +23,14 @@ namespace Myshipping.Application
[SugarColumn(ColumnName = "SLOT_BOOKING_NO")]
[Description("舱位提单号")]
public string SLOT_BOOKING_NO{ get; set; }
/// <summary>
/// 订舱编号
/// </summary>
[SugarColumn(ColumnName = "SLOT_NO")]
[Description("订舱编号")]
public string SLOT_NO { get; set; }
/// <summary>
/// 合约号
/// </summary>

@ -0,0 +1,76 @@
using Myshipping.Core.Entity;
using SqlSugar;
using System;
using System.ComponentModel;
namespace Myshipping.Application
{
/// <summary>
/// 舱位预报记录
/// </summary>
[SugarTable("booking_slot_demand", TableDescription = "舱位预报记录")]
public class BookingSlotDemand : DBEntityTenant
{
/// <summary>
/// 客户ID
/// </summary>
public long? CUSTOMERID { get; set; }
/// <summary>
/// 客户名称
/// </summary>
public string CUSTOMERNAME { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
[Description("装货港代码")]
public string PORTLOADID { get; set; }
/// <summary>
/// 装货港
/// </summary>
[Description("装货港")]
public string PORTLOAD { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
[Description("卸货港代码")]
public string PORTDISCHARGEID { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[Description("卸货港")]
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
[Description("船公司代号")]
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
[Description("船公司")]
public string CARRIER { get; set; }
/// <summary>
/// 预计开船日期
/// </summary>
[Description("预计开船日期")]
public DateTime? ETD { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
[Description("预计到港日期")]
public DateTime? ETA { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string REMARK { get; set; }
}
}

@ -0,0 +1,29 @@
using Myshipping.Core.Entity;
using SqlSugar;
namespace Myshipping.Application.Entity.BookingSlot
{
/// <summary>
/// 舱位预报记录箱信息
/// </summary>
[SugarTable("booking_slot_demand_ctn", TableDescription = "舱位预报记录箱信息")]
public class BookingSlotDemandCtn : DBEntityTenant
{
public long DemandId { get; set; }
/// <summary>
/// 箱型代码
/// </summary>
public string CTNCODE { get; set; }
/// <summary>
/// 箱型名称
/// </summary>
public string CTNALL { get; set; }
/// <summary>
/// 箱量
/// </summary>
public int CTNNUM { get; set; }
}
}

@ -0,0 +1,23 @@
using Furion.DependencyInjection;
using Furion.DynamicApiController;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.BookingSlotDemand
{
/// <summary>
/// 舱位预报服务
/// </summary>
[ApiDescriptionSettings("Application", Name = "BookingSlotDemand", Order = 1)]
public class BookingSlotDemandService : IDynamicApiController, ITransient, IBookingSlotDemandService
{
public BookingSlotDemandService()
{
}
}
}

@ -2,14 +2,10 @@
using Myshipping.Application.Service.BookingOrder.Dto;
using Myshipping.Core;
using Newtonsoft.Json.Linq;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.BookingSlot.Dto
{
@ -23,6 +19,11 @@ namespace Myshipping.Application.Service.BookingSlot.Dto
/// </summary>
public string SLOT_BOOKING_NO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string SLOT_NO { get; set; }
/// <summary>
/// 船名
/// </summary>
@ -143,6 +144,12 @@ namespace Myshipping.Application.Service.BookingSlot.Dto
[Description("舱位提单号")]
public string SLOT_BOOKING_NO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
[Description("订舱编号")]
public string SLOT_NO { get; set; }
/// <summary>
/// 合约号
/// </summary>

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
public interface IBookingSlotDemandService
{
}
}
Loading…
Cancel
Save