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/DjyTenantParam/Dto/DjyTenantParamInput.cs

113 lines
2.6 KiB
C#

using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
/// <summary>
/// 租户参数类别表输入参数
/// </summary>
public class DJYTenantParamInput
{
/// <summary>
/// 类别代码
/// </summary>
public virtual string ParaCode { get; set; }
/// <summary>
/// 类别名称
/// </summary>
public virtual string ParaName { get; set; }
/// <summary>
/// 业务大类
/// </summary>
public virtual string Type { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
/// <summary>
/// 排序
/// </summary>
public virtual int Sort { get; set; }
}
/// <summary>
/// 租户参数类别表新增输入参数
/// </summary>
public class AddDJYTenantParamInput : DJYTenantParamInput
{
}
/// <summary>
/// 租户参数类别表修改输入参数
/// </summary>
public class UpdateDJYTenantParamInput : DJYTenantParamInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 租户参数类别表获取(删除)输入参数
/// </summary>
public class GetDJYTenantParamInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 租户参数类别表查询输入参数
/// </summary>
public class QueryDJYTenantParamInput : PageInputBase
{
/// <summary>
/// 类别代码
/// </summary>
public virtual string ParaCode { get; set; }
/// <summary>
/// 类别名称
/// </summary>
public virtual string ParaName { get; set; }
/// <summary>
/// 业务大类
/// </summary>
public virtual string Type { get; set; }
}
/// <summary>
/// 租户参数值查询输入参数
/// </summary>
public class QueryTenantParamValueInput : PageInputBase
{
/// <summary>
/// 类别代码
/// </summary>
public virtual string ParaCode { get; set; }
/// <summary>
/// 租户id
/// </summary>
public long? TenantId { get; set; }
}
}