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.
19 lines
362 B
19 lines
362 B
using Connected.Annotations;
|
|
using Connected.ServiceModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Common.Types.Continent;
|
|
|
|
public class InsertContinentArgs : Dto
|
|
{
|
|
[Required]
|
|
[MaxLength(128)]
|
|
public string? Name { get; set; }
|
|
}
|
|
|
|
public sealed class UpdateContitentArgs : InsertContinentArgs
|
|
{
|
|
[MinValue(1)]
|
|
public int Id { get; set; }
|
|
}
|