39 lines
820 B
C#
39 lines
820 B
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Admin.NET.Core
|
|
{
|
|
|
|
/// <summary>
|
|
/// 省份管理
|
|
/// </summary>
|
|
[SugarTable("bus_province_info", "省份管理")]
|
|
public class BusProvince : DEntitySortBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 省份编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "省份编号")]
|
|
[Required, MaxLength(20)]
|
|
public string Code { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "省份名称")]
|
|
[Required, MaxLength(20)]
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
}
|
|
}
|