😎增加机构组织经纬度字段及默认值调整
This commit is contained in:
parent
a39f208444
commit
21f6d2fcad
@ -66,14 +66,14 @@ public partial class SysOrg : EntityTenant
|
||||
/// <summary>
|
||||
/// 经度
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "经度")]
|
||||
public decimal Longitude { get; set; }
|
||||
[SugarColumn(ColumnDescription = "经度", DefaultValue = "0")]
|
||||
public decimal Longitude { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 维度
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "维度")]
|
||||
public decimal Latitude { get; set; }
|
||||
[SugarColumn(ColumnDescription = "维度", DefaultValue = "0")]
|
||||
public decimal Latitude { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
|
||||
@ -86,14 +86,14 @@ public partial class SysRegion : EntityBaseId
|
||||
/// <summary>
|
||||
/// 经度
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "经度")]
|
||||
public decimal Longitude { get; set; }
|
||||
[SugarColumn(ColumnDescription = "经度", DefaultValue = "0")]
|
||||
public decimal Longitude { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 维度
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "维度")]
|
||||
public decimal Latitude { get; set; }
|
||||
[SugarColumn(ColumnDescription = "维度", DefaultValue = "0")]
|
||||
public decimal Latitude { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
|
||||
@ -126,6 +126,22 @@ export interface AddOrgInput {
|
||||
*/
|
||||
directorId?: number | null;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddOrgInput
|
||||
*/
|
||||
longitude?: number;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddOrgInput
|
||||
*/
|
||||
latitude?: number;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
|
||||
@ -142,6 +142,22 @@ export interface SysOrg {
|
||||
*/
|
||||
directorId?: number | null;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysOrg
|
||||
*/
|
||||
longitude?: number;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysOrg
|
||||
*/
|
||||
latitude?: number;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
|
||||
@ -126,6 +126,22 @@ export interface UpdateOrgInput {
|
||||
*/
|
||||
directorId?: number | null;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateOrgInput
|
||||
*/
|
||||
longitude?: number;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateOrgInput
|
||||
*/
|
||||
latitude?: number;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user