!37 【轻量级PR】组织结构表增加税号字段

Merge pull request !37 from 叶星/dev-7.2.5
pull/39/MERGE
stylefeng 2022-10-10 06:07:57 +00:00 committed by Gitee
commit d9f5b3a51a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 25 additions and 0 deletions

View File

@ -79,6 +79,11 @@ public class HrOrganizationDTO {
*/
private Integer orgType;
/**
*
*/
private String taxNo;
/**
*
*/

View File

@ -29,6 +29,7 @@ import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.validator.api.validators.status.StatusValue;
import cn.stylefeng.roses.kernel.validator.api.validators.unique.TableUniqueValue;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
@ -109,6 +110,12 @@ public class HrOrganizationRequest extends BaseRequest {
@ChineseDescription("组织机构类型1-公司2-部门")
private Integer orgType;
/**
*
*/
@ChineseDescription("税号")
private String taxNo;
/**
*
*/

View File

@ -101,6 +101,12 @@ public class OrganizationTreeNode implements AbstractTreeNode<OrganizationTreeNo
@ChineseDescription("组织机构类型1-公司2-部门")
private Integer orgType;
/**
*
*/
@ChineseDescription("税号")
private String taxNo;
/**
*
*/

View File

@ -102,6 +102,13 @@ public class HrOrganization extends BaseEntity {
@ChineseDescription("组织机构类型1-公司2-部门")
private Integer orgType;
/**
*
*/
@TableField(value = "tax_no")
@ChineseDescription("税号")
private String taxNo;
/**
*
*/