using Bp.Sync.Domain.Entities.BaseEntities;
using System;
using System.ComponentModel.DataAnnotations;

namespace Bp.Sync.Domain.Entities.FcBusinesses.Products
{
    public class ProductShipment : BaseEntityByLong
    {
        [MaxLength(256)]
        public string HeadQuarterInventoryCode { get; set; }

        public long HeadQuarterShipmentId { get; set; }
        public long? ShipmentUnitId { get; set; }
        public long ProductStorageId { get; set; }
        public int BranchId { get; set; }

        [MaxLength(256)]
        public string ShipmentCode { get; set; }

        [MaxLength(1024)]
        public string ShipmentName { get; set; }

        public decimal ShipmentQuantity { get; set; }
        public decimal? ShipmentBaseUnitQuantity { get; set; }
        public decimal? ShipmentBaseUnitRemainQuantity { get; set; }
        public DateTimeOffset? ShipmentDate { get; set; }
        public DateTimeOffset? ManufacturingDate { get; set; }
        public DateTimeOffset? ShipmentExpiredDate { get; set; }
    }
}