using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Core.Objects; using System.Linq; using System.Web; using System.Runtime.Serialization; using Resources; using Newtonsoft.Json; using Weee.Models.Survey_form_metadata; using Weee.Models.ExtensionMethods; namespace Weee.Models { [Table("OrganizationLCA")] public class OrganizationLCA : LCA { // public virtual OrganizationSurveyForm SurveyForm { get; set; }//組織型盤查專用survey form,盤查-form為一對一關聯 public OrganizationLCA() : base() { } public int? FabID { get; set; } [ForeignKey("FabID")] [JsonIgnore] [IgnoreDataMember] public virtual Fab TargetFab { get; set; } } }