using LearningOfficer.OA.Core.Entities;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LearningOfficer.OA.Core.Entities.OA.PointsGoods
{
///
/// 用户收货地址管理
///
[SugarTable("user_address")]
public class UserAddress : BaseEntity
{
///
/// 备 注:用户id
/// 默认值:
///
[SugarColumn(ColumnName="user_id" ) ]
public long UserId { get; set; }
///
/// 备 注:收货人姓名
/// 默认值:
///
[SugarColumn(ColumnName="user_name" ) ]
public string UserName { get; set; } = null!;
///
/// 备 注:收货人电话
/// 默认值:
///
[SugarColumn(ColumnName="user_phone" ) ]
public string UserPhone { get; set; } = null!;
///
/// 备 注:是否默认(0否、1是) 一个人只有一个地址是默认
/// 默认值:
///
[SugarColumn(ColumnName="is_default" ) ]
public int IsDefault { get; set; }
///
/// 备 注:省id
/// 默认值:
///
[SugarColumn(ColumnName="province_id" ) ]
public int ProvinceId { get; set; }
///
/// 备 注:城市id
/// 默认值:
///
[SugarColumn(ColumnName="city_id" ) ]
public int CityId { get; set; }
///
/// 备 注:地区id
/// 默认值:
///
[SugarColumn(ColumnName="region_id" ) ]
public int RegionId { get; set; }
///
/// 备 注:详细地址
/// 默认值:
///
[SugarColumn(ColumnName="address" ) ]
public string Address { get; set; } = null!;
}
}