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.

154 lines
3.1 KiB
C#

using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
/// <summary>
/// 订舱模板输入参数
/// </summary>
public class BookingTemplateInput
{
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 类型
/// </summary>
public virtual string Type { get; set; }
/// <summary>
/// 模板内容
/// </summary>
public virtual string Content { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
2 years ago
/// <summary>
/// 名称
/// </summary>
public string NAME { get; set; }
/// <summary>
/// 地址
/// </summary>
public string ADDR { get; set; }
/// <summary>
/// 国家code
/// </summary>
public string COUNTRY { get; set; }
/// <summary>
/// 国家
/// </summary>
public string COUNTRYName { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string TEL { get; set; }
}
/// <summary>
/// 订舱模板新增输入参数
/// </summary>
public class AddBookingTemplateInput : BookingTemplateInput
{
}
/// <summary>
/// 订舱模板修改输入参数
/// </summary>
1 year ago
public class UpdateBookingTemplateInput : BookingTemplateInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱模板获取(删除)输入参数
/// </summary>
public class GetBookingTemplateInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱模板查询输入参数
/// </summary>
public class QueryBookingTemplateInput : PageInputBase
{
1 year ago
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 类型
/// </summary>
public virtual string Type { get; set; }
1 year ago
}
1 year ago
1 year ago
public class BookingTemplateShareDto
{
1 year ago
/// <summary>
/// 业务id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 模板id
/// </summary>
public long TemplateId { get; set; }
/// <summary>
/// 分享用户Id
/// </summary>
public long ShareToId { get; set; }
/// <summary>
/// 分享用户
/// </summary>
public string ShareToName { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
}
1 year ago
public class BookingTemplateShareQuery
{
public string TemplateName { get; set; }
public string ShareToId { get; set; }
}
}