using Lada.Framework.Data.Enums;
using Lada.Framework.Infrastructures.Helpers;
using System.ComponentModel.DataAnnotations;

namespace Ladaer.BackEnd.Infrastructures.DTO.Models.Orders.Detail
{
    public class OrderDetailOpsModel
    {
        public int Id { get; set; }
        public OrderStatus Status { get; set; }
        public string StatusStr => Status.GetDescription();
        public OrderPhysicalStatus PhysicalStatus { get; set; }
        public string PhysicalStatusStr => PhysicalStatus.GetDescription();
        public string StatusContent { get; set; }
        public OrderDirection OrderDirection { get; set; }
        public string OrderDirectionStr => OrderDirection.GetDescription();
        public int PicId { get; set; }

        [MaxLength(64)]
        public required string PicUserName { get; set; }
    }
}
