using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MadRunFabric.Model
{
    public class Sys_County : IBaseModel<string>
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 市编号
        /// </summary>
        public string countycode { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        public string countyname { get; set; }
        /// <summary>
        /// 省编号
        /// </summary>
        public string citycode { get; set; }
    }
}
