798dfa3fe0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
472 B
C#
13 lines
472 B
C#
using System.ComponentModel.DataAnnotations;
|
|
namespace ROLAC.API.DTOs.Giving;
|
|
|
|
public class UpdateGivingCategoryRequest
|
|
{
|
|
[Required, MaxLength(200)] public string Name_en { get; set; } = "";
|
|
[MaxLength(200)] public string? Name_zh { get; set; }
|
|
[MaxLength(500)] public string? Description_en { get; set; }
|
|
[MaxLength(500)] public string? Description_zh { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
public int SortOrder { get; set; }
|
|
}
|