Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/OA/PointsGoods/UserAddress.cs

74 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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!;
}
}