EquipmentTaskInfo.cs 1003 Bytes
using FreeSql.DataAnnotations;
using HHECS.DataContract;

namespace HHECS.DAQShared.Models
{
    [Table(Name = "daq_equipment_task")]
    [Index($"uk_{nameof(EquipmentCode)}", $"{nameof(EquipmentCode)}", false)]
    public class EquipmentTaskInfo : BaseEntityCU<Guid>
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        public string EquipmentCode { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string EquipmentName { get; set; }

        /// <summary>
        /// 设备类型
        /// </summary>
        public string EquipmentTypeCode { get; set; }

        /// <summary>
        /// 总任务数
        /// </summary>
        public int TotalTask { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectCode { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string FactoryCode { get; set; }
    }
}