using Estsh.Core.Base; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace Estsh.Core.Models { /// /// ,数据实体对象 /// [Table("sys_process")] [Serializable] public class SysProcess : BaseEntity { [Column("process_id")] [DisplayName(" ")] public int ProcessId { get; set; } [Column("stage_id")] [DisplayName(" ")] public int StageId { get; set; } [Column("op_type_id")] [DisplayName(" ")] public int OpTypeId { get; set; } [Column("process_code")] [DisplayName(" ")] public string ProcessCode { get; set; } [Column("process_name")] [DisplayName(" ")] public string ProcessName { get; set; } [Column("process_desc")] [DisplayName(" ")] public string ProcessDesc { get; set; } #region 扩展字段 [NotMapped] [Column("factory_name")] public string FactoryName { get; set; } [NotMapped] [Column("stage_name")] public string StageName { get; set; } [NotMapped] [Column("type_name")] public string TypeName { get; set; } [NotMapped] [Column("type_id")] public int TypeId { get; set; } [NotMapped] [Column("Total")] public string Total { get; set; } #endregion } }