using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace DSWeb.Areas.MvcShipping.DB { [Table("op_rule")] public class OpRule { [Key] public string GID { get; set; } public string Code { get; set; } public string Title { get; set; } public string RedAlertField { get; set; } public bool SaveDisable { get; set; } public bool Enable { get; set; } public DateTime CreateTime { get; set; } public string CreateUser { get; set; } public DateTime? ModifyTime { get; set; } public string ModifyUser { get; set; } public DateTime? EnableDisableTime { get; set; } public string CompareType { get; set; } public int SortOrder { get; set; } } public enum OpRuleCompareType { And = 10, Or = 20 } }