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.
74 lines
2.1 KiB
74 lines
2.1 KiB
using System;
|
|
|
|
namespace AIK.Models.ApiModels.Membership
|
|
{
|
|
public class MembershipModule
|
|
{
|
|
public int Id { get; set; }
|
|
public string? Model { get; set; }
|
|
public string? Code { get; set; }
|
|
public string? Name { get; set; }
|
|
public int Num { get; set; }
|
|
public int NumType { get; set; }
|
|
public DateTime? CreateTime { get; set; }
|
|
}
|
|
|
|
public class MembershipFindRequest
|
|
{
|
|
public string? Model { get; set; } = "key";
|
|
public string? FuncCode { get; set; }
|
|
public int? FuncId { get; set; }
|
|
public string? SerNo { get; set; }
|
|
public string? Language { get; set; }
|
|
public int Page { get; set; } = 1;
|
|
public int Size { get; set; } = 10;
|
|
}
|
|
|
|
public class MembershipRecord
|
|
{
|
|
public int Id { get; set; }
|
|
public int FuncId { get; set; }
|
|
public string? FuncCode { get; set; }
|
|
public string? FuncName { get; set; }
|
|
public string? SerNo { get; set; }
|
|
public DateTime? StartTime { get; set; }
|
|
public DateTime? EndTime { get; set; }
|
|
public bool Expire { get; set; }
|
|
}
|
|
|
|
public class OpenMembershipRequest
|
|
{
|
|
public string? FuncCode { get; set; }
|
|
public string? SerNo { get; set; }
|
|
public string? Language { get; set; }
|
|
}
|
|
|
|
public class BindMembershipDeviceRequest
|
|
{
|
|
public int Id { get; set; }
|
|
public string? SerNo { get; set; }
|
|
public string? Language { get; set; }
|
|
}
|
|
|
|
public class CheckMembershipPermissionRequest
|
|
{
|
|
public string? Code { get; set; }
|
|
public string? SerNo { get; set; }
|
|
public int Type { get; set; }
|
|
public string? Language { get; set; }
|
|
}
|
|
|
|
public class ActivateDeviceRequest
|
|
{
|
|
public string? MacAddress { get; set; }
|
|
public string? Language { get; set; }
|
|
}
|
|
|
|
public class BurnCountInfo
|
|
{
|
|
public int Count { get; set; }
|
|
public int DefCount { get; set; }
|
|
public bool Vip { get; set; }
|
|
public bool CanWrite { get; set; }
|
|
}
|
|
}
|
|
|