using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities.Auditing; using ShwasherSys.Authorization.Users; namespace ShwasherSys.CompanyInfo { [Table("MaintenanceMemberInfo")] public class MaintenanceMember : CreationAuditedEntity { /// /// 维修记录编码 /// public string MaintenanceNo{ get; set; } /// /// 维护员工 /// public int EmployeeId { get; set; } [ForeignKey("EmployeeId")] public Employee EmployeeInfo { get; set; } /// /// 维修人员 /// public string Name { get; set; } /// /// 开始时间 /// public DateTime? StartDateTime { get; set; } /// /// 结束时间 /// public DateTime? EndDateTime { get; set; } /// /// 工时 /// public decimal WorkHour { get; set; } public bool IsConfirm { get; set; } /// /// 工作内容 /// public string WorkDesc { get; set; } public const int RemarkMaxLength = 500; [MaxLength(RemarkMaxLength)] public string Remark { get; set; } } }