83 lines
2.2 KiB
C#
83 lines
2.2 KiB
C#
using SqlSugar;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace LearningOfficer.OA.Common.Dtos.User
|
||
{
|
||
public class UserAddressGetSingleResult
|
||
{
|
||
public long Id { get; set; }
|
||
/// <summary>
|
||
/// 备 注:用户id
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "user_id")]
|
||
public long UserId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备 注:收货人姓名
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "user_name")]
|
||
public string UserName { get; set; } = null!;
|
||
|
||
/// <summary>
|
||
/// 备 注:收货人电话
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "user_phone")]
|
||
public string UserPhone { get; set; } = null!;
|
||
|
||
/// <summary>
|
||
/// 备 注:是否默认(0否、1是) 一个人只有一个地址是默认
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "is_default")]
|
||
public int IsDefault { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备 注:省id
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "province_id")]
|
||
public int ProvinceId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备 注:城市id
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "city_id")]
|
||
public int CityId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备 注:地区id
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "region_id")]
|
||
public int RegionId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备 注:详细地址
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "address")]
|
||
public string Address { get; set; } = null!;
|
||
|
||
/// <summary>
|
||
/// 省名称
|
||
/// </summary>
|
||
public string ProvinceName { get; set; }
|
||
/// <summary>
|
||
/// 城市名称
|
||
/// </summary>
|
||
public string CityName { get; set; }
|
||
/// <summary>
|
||
/// 地区名称
|
||
/// </summary>
|
||
public string RegionName { get; set; }
|
||
}
|
||
}
|