yaozc
2023-02-21 744ddc3550c2bdbe61f7326e4ab7c00dfa3ac51f
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/domain/ContractInvoicePayment.java
copy from eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/domain/SysUserCompany.java copy to eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/domain/ContractInvoicePayment.java
File was copied from eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/domain/SysUserCompany.java
@@ -13,7 +13,7 @@
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.system.domain;
package me.zhengjie.modules.contract.domain;
import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
@@ -22,38 +22,36 @@
import me.zhengjie.base.BaseEntity;
import javax.persistence.*;
import javax.validation.constraints.*;
import java.sql.Timestamp;
import java.io.Serializable;
/**
* @website https://eladmin.vip
* @description /
* @author wcd
* @date 2023-01-30
* @author 赵士淞
* @date 2023-02-02
**/
@Entity
@Data
@Table(name="sys_user_company")
public class SysUserCompany extends BaseEntity implements Serializable {
@Table(name="contract_invoice_payment")
public class ContractInvoicePayment extends BaseEntity implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "`id`")
    @ApiModelProperty(value = "id")
    private Long id;
    @Column(name = "`relation_id`")
    @ApiModelProperty(value = "ID")
    private Long relationId;
    @Column(name = "`description`")
    @ApiModelProperty(value = "描述")
    private String description;
    @Column(name = "`invoice_id`")
    @ApiModelProperty(value = "发票ID")
    private Long invoiceId;
    @Column(name = "`label`")
    @ApiModelProperty(value = "标签")
    private String label;
    @Column(name = "`payment_id`")
    @ApiModelProperty(value = "付款ID")
    private Long paymentId;
    @Column(name = "`value`")
    @ApiModelProperty(value = "值")
    private String value;
    public void copy(SysUserCompany source){
    public void copy(ContractInvoicePayment source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}