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.
BookingHeChuan/Myshipping.Application/Service/BookingOrderContact/Dto/BookingOrderContactInput.cs

137 lines
3.2 KiB
C#

2 years ago
using Myshipping.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
/// <summary>
/// 订舱关系人输入参数
/// </summary>
public class BookingOrderContactInput
{
/// <summary>
/// 订舱Id
/// </summary>
public virtual long BookingId { get; set; }
/// <summary>
/// 角色代码
/// </summary>
public virtual string RoleCode { get; set; }
/// <summary>
/// 名称
/// </summary>
public virtual string Name { get; set; }
/// <summary>
/// 电话
/// </summary>
public virtual string Tel { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public virtual string Email { get; set; }
/// <summary>
/// 排序号
/// </summary>
public virtual int Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
}
/// <summary>
/// 订舱关系人新增输入参数
/// </summary>
public class AddBookingOrderContactInput : BookingOrderContactInput
{
}
/// <summary>
/// 订舱关系人修改输入参数
/// </summary>
public class UpdateBookingOrderContactInput : BookingOrderContactInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱关系人获取(删除)输入参数
/// </summary>
public class GetBookingOrderContactInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱关系人查询输入参数
/// </summary>
public class QueryBookingOrderContactInput : PageInputBase
{
/// <summary>
/// 主键
/// </summary>
public virtual long Id { get; set; }
/// <summary>
/// 订舱Id
/// </summary>
public virtual long BookingId { get; set; }
/// <summary>
/// 角色代码
/// </summary>
public virtual string RoleCode { get; set; }
/// <summary>
/// 名称
/// </summary>
public virtual string Name { get; set; }
/// <summary>
/// 电话
/// </summary>
public virtual string Tel { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public virtual string Email { get; set; }
/// <summary>
/// 排序号
/// </summary>
public virtual int Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
/// <summary>
/// 租户ID
/// </summary>
public virtual long TenantId { get; set; }
}
}