using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
///
/// 订舱客户联系人输入参数
///
public class DjyCustomerContactInput
{
///
/// 客户Id
///
public virtual long CustomerId { get; set; }
///
/// 角色ID
///
public string RoleCode { get; set; }
///
/// 角色名称
///
public virtual string RoleName { get; set; }
///
/// 名称
///
public virtual string Name { get; set; }
///
/// 电话
///
public virtual string Tel { get; set; }
///
/// 邮箱
///
public virtual string Email { get; set; }
///
/// QQ
///
public virtual string QQ { get; set; }
///
/// 排序号
///
public virtual int Sort { get; set; }
///
/// 备注
///
public virtual string Remark { get; set; }
///
/// 船司属性
///
public string CarrierProp { get; set; }
}
///
/// 订舱客户联系人新增输入参数
///
public class AddDjyCustomerContactInput : DjyCustomerContactInput
{
}
///
/// 订舱客户联系人修改输入参数
///
public class UpdateDjyCustomerContactInput : DjyCustomerContactInput
{
///
/// 主键
///
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
///
/// 订舱客户联系人获取(删除)输入参数
///
public class GetDjyCustomerContactInput
{
///
/// 主键
///
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
///
/// 订舱客户联系人查询输入参数
///
public class QueryDjyCustomerContactInput : PageInputBase
{
///
/// 主键
///
public virtual long Id { get; set; }
///
/// 客户Id
///
public virtual long CustomerId { get; set; }
///
/// 角色ID
///
public virtual long RoleId { get; set; }
///
/// 角色名称
///
public virtual string RoleName { get; set; }
///
/// 名称
///
public virtual string Name { get; set; }
///
/// 电话
///
public virtual string Tel { get; set; }
///
/// 邮箱
///
public virtual string Email { get; set; }
///
/// QQ
///
public virtual string QQ { get; set; }
///
/// 排序号
///
public virtual int Sort { get; set; }
///
/// 备注
///
public virtual string Remark { get; set; }
///
/// 租户ID
///
public virtual long TenantId { get; set; }
}
}