using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Business.Domain
{
///
/// 优先级配置表
///
[Comment("优先级配置表")]
public class PriorityCode
{
///
/// 主键
///
[Comment("主键")]
[Key]
public Guid RecID { get; set; }
///
/// 域名
///
[Comment("域名")]
public string Domain { get; set; }
///
/// 名称
///
[Comment("名称")]
public string Descr { get; set; }
///
/// 字段名称
///
[Comment("字段名称")]
public string Value { get; set; }
///
/// 优先级
///
[Comment("优先级")]
public int Priority { get; set; }
///
/// 来源表名
///
[Comment("来源表名")]
public string SourceTable { get; set; }
///
/// 来源字段
///
[Comment("来源字段")]
public string SourceColumn { get; set; }
///
/// 来源表关联字段
///
[Comment("来源表关联字段")]
public string SourceID { get; set; }
///
/// 工单表关联字段
///
[Comment("工单表关联字段")]
public string ValueID { get; set; }
///
/// 来源表字段类型
///
[Comment("来源表关联字段")]
public string SourceType { get; set; }
///
/// 工单表字段类型
///
[Comment("工单表关联字段")]
public string ValueType { get; set; }
///
/// 是否有效:1-有效;0-无效
///
[Comment("是否有效")]
public bool IsActive { get; set; }
///
/// 排序方式
///
[Comment("排序方式")]
public bool OrderBy { get; set; }
///
/// 创建时间
///
[Comment("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 修改时间
///
[Comment("修改时间")]
public DateTime? UpdateTime { get; set; }
///
/// 创建人
///
[Comment("创建人")]
public string CreateUser { get; set; }
///
/// 修改人
///
[Comment("修改人")]
public string UpdateUser { get; set; }
}
}