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.Core/Service/DjyTenantLine/Dto/DjyTenantLineInput.cs

71 lines
1.5 KiB
C#

2 years ago
using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
/// <summary>
/// 租户航线
/// </summary>
public class DjyTenantLineInput
{
/// <summary>
/// 航线代码
/// </summary>
public string LineCode { get; set; }
/// <summary>
/// 航线名称
/// </summary>
public string LineName { get; set; }
}
/// <summary>
/// 租户航线保存
/// </summary>
public class SaveDjyTenantLineInput : DjyTenantLineInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 租户航线查询输入参数
/// </summary>
public class QueryDjyTenantLineInput : PageInputBase
{
/// <summary>
/// 主键Id
/// </summary>
public virtual long Id { get; set; }
/// <summary>
/// 航线代码
/// </summary>
public string LineCode { get; set; }
/// <summary>
/// 航线名称
/// </summary>
public string LineName { get; set; }
}
/// <summary>
/// 租户航线查询输入参数
/// </summary>
public class ListDjyTenantLineInput
{
/// <summary>
/// 航线名称
/// </summary>
public string LineName { get; set; }
}
}