namespace wcftest.orm
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
public partial class Base_Country
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public Base_Country()
|
{
|
Base_CountryExpress_Relation = new HashSet<Base_CountryExpress_Relation>();
|
Base_CountryStorage_Relation = new HashSet<Base_CountryStorage_Relation>();
|
}
|
|
[Key]
|
public int Country_Id { get; set; }
|
|
[StringLength(50)]
|
public string ISO2Code { get; set; }
|
|
[StringLength(50)]
|
public string ISO3Code { get; set; }
|
|
[StringLength(10)]
|
public string DigitalCode { get; set; }
|
|
[StringLength(50)]
|
public string CountryName { get; set; }
|
|
[StringLength(50)]
|
public string CountryNameCn { get; set; }
|
|
[StringLength(50)]
|
public string CountryRegionCode { get; set; }
|
|
public int? OrderNo { get; set; }
|
|
public int? Enable { get; set; }
|
|
public int? CreateID { get; set; }
|
|
[StringLength(50)]
|
public string Creator { get; set; }
|
|
public DateTime? CreateDate { get; set; }
|
|
public int? ModifyID { get; set; }
|
|
[StringLength(50)]
|
public string Modifier { get; set; }
|
|
public DateTime? ModifyDate { get; set; }
|
|
public string ExpandFields { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Base_CountryExpress_Relation> Base_CountryExpress_Relation { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Base_CountryStorage_Relation> Base_CountryStorage_Relation { get; set; }
|
}
|
}
|