using System;
using SqlSugar;

namespace MDL.Models
{
    [SugarTable("bag_tag_waybills")]
    public class BagTagWaybillEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(Length = 100, IsNullable = false)]
        public string TagNumber { get; set; }

        [SugarColumn(Length = 100, IsNullable = false)]
        public string FinalMileTrackingNumber { get; set; }

        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;

        [SugarColumn(Length = 50, IsNullable = false)]
        public string Creator { get; set; }

        [SugarColumn(Length = 200, IsNullable = true)]
        public string Remark { get; set; }
    }
}