You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.1 KiB

using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
/// <summary>
/// 邀请码表输入参数
/// </summary>
public class InvitationCodeInput : PageInputBase
{
/// <summary>
/// 企业ID
/// </summary>
public virtual long EnterpriseID { get; set; }
/// <summary>
/// 邀请码
/// </summary>
public long InviteCode { get; set; }
}
public class AddInvitationCodeInput : InvitationCodeInput
{
}
public class DeleteInvitationCodeInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateInvitationCodeInput : InvitationCodeInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeInvitationCodeInput : DeleteInvitationCodeInput
{
}
}