【7.2.5】组织结构表增加税号字段

pull/37/head
yxx 2022-10-10 11:29:41 +08:00
parent a7ca5e7ae9
commit 31901b3b7f
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;
/**
*
*/