namespace iWareSql.MyDbContext
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
[Table("SysRegion")]
|
public partial class SysRegion
|
{
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public long Id { get; set; }
|
|
public long Pid { get; set; }
|
|
[Required]
|
[StringLength(128)]
|
public string Name { get; set; }
|
|
[StringLength(32)]
|
public string ShortName { get; set; }
|
|
[StringLength(64)]
|
public string MergerName { get; set; }
|
|
[StringLength(32)]
|
public string Code { get; set; }
|
|
[StringLength(6)]
|
public string ZipCode { get; set; }
|
|
[StringLength(6)]
|
public string CityCode { get; set; }
|
|
public int Level { get; set; }
|
|
[StringLength(128)]
|
public string PinYin { get; set; }
|
|
public double Lng { get; set; }
|
|
public double Lat { get; set; }
|
|
public int OrderNo { get; set; }
|
|
[StringLength(128)]
|
public string Remark { get; set; }
|
}
|
}
|