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.
Connected.Logistics/Logistics.Types.Model/Warehouses/WarehouseArgs.cs

27 lines
650 B

using Connected.Data;
using Connected.ServiceModel;
using System.ComponentModel.DataAnnotations;
namespace Logistics.Types.Warehouses;
public class InsertWarehouseArgs : Dto
{
[Required, MaxLength(128)]
public string Name { get; set; } = default!;
[Required, MaxLength(32)]
public string Code { get; set; } = default!;
public Status Status { get; set; } = Status.Disabled;
}
public class UpdateWarehouseArgs : PrimaryKeyArgs<int>
{
[Required, MaxLength(128)]
public string Name { get; set; } = default!;
[Required, MaxLength(32)]
public string Code { get; set; } = default!;
public Status Status { get; set; } = Status.Disabled;
}