✨ Check in rewards NSD & payment
This commit is contained in:
		| @@ -1,4 +1,5 @@ | ||||
| using System.ComponentModel.DataAnnotations; | ||||
| using Newtonsoft.Json; | ||||
| using NodaTime; | ||||
|  | ||||
| namespace DysonNetwork.Sphere.Developer; | ||||
| @@ -19,7 +20,20 @@ public class CustomApp : ModelBase | ||||
|     public CustomAppStatus Status { get; set; } = CustomAppStatus.Developing; | ||||
|     public Instant? VerifiedAt { get; set; } | ||||
|     [MaxLength(4096)] public string? VerifiedAs { get; set; } | ||||
|      | ||||
|     [JsonIgnore] private ICollection<CustomAppSecret> Secrets { get; set; } = new List<CustomAppSecret>(); | ||||
|  | ||||
|     public Guid PublisherId { get; set; } | ||||
|     public Publisher.Publisher Developer { get; set; } = null!; | ||||
| } | ||||
|  | ||||
| public class CustomAppSecret : ModelBase | ||||
| { | ||||
|     public Guid Id { get; set; } = Guid.NewGuid(); | ||||
|     [MaxLength(1024)] public string Secret { get; set; } = null!; | ||||
|     [MaxLength(4096)] public string? Remarks { get; set; } = null!; | ||||
|     public Instant? ExpiredAt { get; set; } | ||||
|      | ||||
|     public Guid AppId { get; set; } | ||||
|     public CustomApp App { get; set; } = null!; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user