|
@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
+import org.springframework.data.annotation.Transient;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
@@ -17,7 +18,6 @@ import java.math.BigDecimal;
|
|
|
@Component
|
|
|
public class ShareholderInfoVO {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
-
|
|
|
/** 股东ID */
|
|
|
@TableId(type = IdType.AUTO)
|
|
|
@ApiModelProperty("股东ID")
|
|
@@ -33,14 +33,14 @@ public class ShareholderInfoVO {
|
|
|
|
|
|
/** 股东名称 */
|
|
|
@ApiModelProperty("股东名称")
|
|
|
- @Excel(name = "股东名称")
|
|
|
+ @Excel(name = "股东名称" ,width = 30, height = 25)
|
|
|
@NotNull(message = "股东名称不能为空")
|
|
|
private String shareholderName;
|
|
|
|
|
|
/** 股东类型 */
|
|
|
@ApiModelProperty("股东类型")
|
|
|
- @Excel(name = "股东类型")
|
|
|
@NotNull(message = "股东类型不能为空")
|
|
|
+ @Excel(name = "股东类型", readConverterExp = "1=个人主体,2=公司主体,个人主体=1,公司主体=2" ,width = 10, height = 25)
|
|
|
private String shareholderType;
|
|
|
|
|
|
/** 股份占比 */
|
|
@@ -50,13 +50,14 @@ public class ShareholderInfoVO {
|
|
|
|
|
|
/** 受控公司(股东中为公司类型的数据) */
|
|
|
@ApiModelProperty("受控公司")
|
|
|
- @Excel(name = "受控公司(股东中为公司类型的数据)")
|
|
|
+ @Excel(name = "受控公司")
|
|
|
private Long controlledCompany;
|
|
|
|
|
|
|
|
|
/** 缺少的股东信息表 中的公司信息回显:**/
|
|
|
@ApiModelProperty("所在公司")
|
|
|
- @Excel(name = "所在公司")
|
|
|
+ @Excel(name = "所在公司" ,width = 35, height = 25)
|
|
|
+ @Transient
|
|
|
private String companyName;
|
|
|
|
|
|
/** 公司估值 */
|
|
@@ -66,7 +67,7 @@ public class ShareholderInfoVO {
|
|
|
|
|
|
/** 是否为主体公司 */
|
|
|
@ApiModelProperty("是否为主体公司")
|
|
|
- @Excel(name = "是否为主体公司")
|
|
|
+ @Excel(name = "是否为主体公司", readConverterExp = "0=否,1=是" ,width = 15, height = 25)
|
|
|
@NotNull(message = "是否为主体公司不能为空")
|
|
|
private Long isSubject;
|
|
|
|
|
@@ -76,7 +77,7 @@ public class ShareholderInfoVO {
|
|
|
|
|
|
/** 返回股东备注 **/
|
|
|
@ApiModelProperty("备注")
|
|
|
- @Excel(name = "备注")
|
|
|
+ @Excel(name = "备注" ,width = 30, height = 25)
|
|
|
private String remark;
|
|
|
|
|
|
|