fix 范围变更

This commit is contained in:
2025-10-24 14:21:24 +08:00
parent 28af6e2a6b
commit 4f6cc6e8de

View File

@@ -10,7 +10,7 @@ public class DeviceTimePeriodSaveRequest : IValidatableObject
/// <summary>
/// 卡类型 timeperiod
/// </summary>
[Range(2, 3, ErrorMessage = "卡类型有误")]
[Range(1, int.MaxValue, ErrorMessage = "卡类型有误")]
public int CardType { get; set; }
/// <summary>