You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
2.2 KiB
C#

using Myshipping.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
#region 公共
/// <summary>
/// 查询操作信息输入
/// </summary>
public class BookingAutoQueryInput
{
/// <summary>
/// 查询类型
/// </summary>
public BookingAutoQueryType QueryType { get; set; }
/// <summary>
/// 查询代码
/// </summary>
public string QueryCode { get; set; }
/// <summary>
/// 租户ID
/// </summary>
public long TenantId { get; set; }
/// <summary>
/// 大简云公司ID
/// </summary>
public string CompId { get; set; }
}
public enum BookingAutoQueryType
{
/// <summary>
/// 订舱编号
/// </summary>
BookingNO,
/// <summary>
/// 提单号
/// </summary>
MBLNO,
6 months ago
/// <summary>
/// 名称
/// </summary>
Name,
}
#endregion
#region 查询操作信息
/// <summary>
/// 查询操作信息输出
/// </summary>
public class BookingAutoQueryOpOutput
{
/// <summary>
/// 姓名
/// </summary>
public string Name { get; set; }
/// <summary>
/// 英文名
/// </summary>
public string EnName { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string Email { get; set; }
/// <summary>
/// 手机
/// </summary>
public string Phone { get; set; }
/// <summary>
/// 电话
/// </summary>
public string Tel { get; set; }
/// <summary>
/// 大简云userid
/// </summary>
public string DjyUserId { get; set; }
}
#endregion
#region 更新订舱
/// <summary>
/// 更新订舱数据输入
/// </summary>
public class BookingAutoUpdateDataInput : BookingAutoQueryInput
{
/// <summary>
/// 数据对象
/// </summary>
public dynamic DataJson { get; set; }
}
#endregion
}