74 lines
2.0 KiB
C#
74 lines
2.0 KiB
C#
using LearningOfficer.OA.Core.Entities;
|
||
using SqlSugar;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
namespace LearningOfficer.OA.Core.Entities.OA.PointsGoods
|
||
{
|
||
/// <summary>
|
||
/// 用户收货地址管理
|
||
///</summary>
|
||
[SugarTable("user_address")]
|
||
public class UserAddress : BaseEntity
|
||
{
|
||
|
||
/// <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!;
|
||
|
||
|
||
}
|
||
|
||
} |